欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

MYSQL初始化后的内容

程序员文章站 2022-04-28 20:48:57
...

[root@cdcloud ~]#service mysqld restart Stopping MySQL:[FAILED] Initializing MySQLdatabase: Installing MySQL systemtables... OK Filling helptables... OK To start mysqld atboot time you have to copy support-files/mysql.serverto the right pl

[root@cdcloud ~]#service mysqld restart

Stopping MySQL: [FAILED]

Initializing MySQLdatabase: Installing MySQL systemtables...

OK

Filling helptables...

OK

To start mysqld atboot time you have to copy

support-files/mysql.serverto the right place for your system

PLEASE REMEMBER TOSET A PASSWORD FOR THE MySQL root USER !

To do so, start theserver, then issue the following commands:

/usr/bin/mysqladmin-u root password 'new-password'

/usr/bin/mysqladmin-u root -h cdcloud.org password 'new-password'

See the manual formore instructions.

You can start theMySQL daemon with:

cd /usr ;/usr/bin/mysqld_safe &

You can test theMySQL daemon with mysql-test-run.pl

cd mysql-test ; perlmysql-test-run.pl

Please report anyproblems with the /usr/bin/mysqlbug script!

The latestinformation about MySQL is available on the web at

http://www.mysql.com

Support MySQL bybuying support/licenses at http://shop.mysql.com

[ OK ]

Starting MySQL: [ OK ]

/usr/bin/mysqladmin-u root password 'passwd@'