永发信息网

大哥我安装mysql出事了 请帮助呢

答案:1  悬赏:60  手机版
解决时间 2021-01-25 21:55
  • 提问者网友:焚苦与心
  • 2021-01-24 22:38
./configure --prefix=/usr/local/mysql
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

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:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.

You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

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

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@localhost mysql-6.0.0-alpha-linux-i686-glibc23]# chown: ‘mysql’: 无效的用

Starting mysqld daemon with databases from /usr/local/src/mysql-6.0.0-alpha-linu
x-i686-glibc23/data
STOPPING server from pid file /usr/local/src/mysql-6.0.0-alpha-linux-i686-glibc2
3/data/localhost.localdomain.pid
091027 14:41:02 mysqld ended
最佳答案
  • 五星知识达人网友:一叶十三刺
  • 2021-01-25 00:00
建立一个mysql的用户,把mysql文件夹的权限分给mysql用户,执行./scripts/mysql_install_db 执行./bin/mysqld_safe& 启动服务器
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯