标签:
To start mysqld at boot time you have tocopy
support-files/mysql.server to the rightplace for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THEMySQL root USER !
To do so, start the server, then issue thefollowing commands:
./bin/mysqladmin -u root password‘new-password‘
./bin/mysqladmin -u root -h server.sanm.orgpassword ‘new-password‘
Alternatively you can run:
./bin/mysql_secure_installation
which will also give you the option ofremoving the testdatabases and anonymous user created by default. This isstrongly recommended for productionservers.See the manual for more instructions.
You can start the MySQL daemon with:
cd .; ./bin/mysqld_safe &
You can test the MySQL daemon withmysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems athttp://bugs.mysql.com/
The latest information about MySQL isavailable on the web at http://www.mysql.com
Support MySQL by buying support/licenses athttp://shop.mysql.com New default configfile was created as ./my.cnf and will be used by default by the server when youstart it. You may edit this file to change server settings
WARNING: Default config file /etc/my.cnfexists on the system This file will be read by default by the MySQL server Ifyou do not want to use this, either remove it, or use the --defaults-fileargument to mysqld_safe when starting the server
标签:
原文地址:http://www.cnblogs.com/lmgsanm/p/4236607.html