当前位置:Gxlcms > 数据库问题 > linux下配置mysql和mysql初始化

linux下配置mysql和mysql初始化

时间:2021-07-01 10:21:17 帮助过:9人阅读

This probably means that your libc libraries are not 100 % compatible

这可能意味着您的libc库并不是100%兼容的使用这个二进制MySQL版本。

with this binary MySQL version. The MySQL daemon, mysqld, should work

MySQL守护进程mysqld应该工作

normally with the exception that host name resolving will not work.

通常情况下,主机名解析不会起作用。

This means that you should use IP addresses instead of hostnames

这意味着你应该使用IP地址而不是主机名

when specifying MySQL privileges !

在指定MySQL特权时!

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

要在启动时启动mysqld,必须复制

支持文件/ mysql。服务器到您的系统的正确位置

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !

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

请记住为MySQL根用户设置密码!

为此,启动服务器,然后发出以下命令:

/application/mysql/bin/mysqladmin -u root password ‘new-password‘

/application/mysql/bin/mysqladmin -u root -h dataserver password ‘new-password‘


Alternatively you can run:

/application/mysql/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 /application/mysql ; /application/mysql/bin/mysqld_safe &


You can test the MySQL daemon with mysql-test-run.pl

cd /application/mysql/mysql-test ; perl mysql-test-run.pl


Please report any problems with the /application/mysql/scripts/mysqlbug script!


本文出自 “董利强” 博客,请务必保留此出处http://6207422.blog.51cto.com/6197422/1967955

linux下配置mysql和mysql初始化

标签:mysql初始化

人气教程排行