因为XAMPP不支持64位,所以我还是自己在CentOS 6.2上安装MySQL。使用默认的yum。
因为xampp不支持64位,所以我还是自己在centos 6.2上安装mysql。使用默认的yum。
yes | yum install mysql
yes | yum install mysql-server
然后运行
service mysqld start
会有如下非常重要的输出:
Initializing MySQL database: Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h xxxxxx password 'new-password'
WampServer是一个在Windows上的Web开发平台,它允许您使用Apache2、PHP、MySQL和MariaDB创建动态Web应用程序。WampServer会自动安装您需要的一切,以直观地开发Web应用程序。您甚至可以在不触碰设置文件的情况下调整服务器。最重要的是,WampServer提供免费版本(在GPML许可下),包括32位和64位版本。WampServer不兼容Windows XP、SP3或Windows Server 2003。
56
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
[ OK ]
Starting mysqld: [ OK ]
可以看到这个命令会初始化MYSQL,,并且安装MYSQL的系统数据表。如果没有这个过程,那么强行通过 mysqld_safe start 命令去启动的话是会失败的。

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号