|
开始的时候是启动之后无法停止,后来把/var目录里原来的mysql数据全部删掉,重新安装mysql,运行mysql_install_db出现这样
- root@Jack /home/gray # mysql_install_db
- Installing all prepared tables
- /usr/bin/mysql_create_system_tables: line 664: 8612 断开的管道 cat <<END_OF_DATA
- use mysql;
- $c_d
- $i_d
- $c_h
- $i_h
- $c_u
- $i_u
- $c_f
- $i_f
- $c_t
- $c_c
- $c_ht
- $c_hc
- $c_hr
- $c_hk
- $c_tzn
- $i_tzn
- $c_tz
- $i_tz
- $c_tzt
- $i_tzt
- $c_tztt
- $i_tztt
- $c_tzls
- $i_tzls
- END_OF_DATA
- Installation of system tables failed!
- Examine the logs in /var/lib/mysql for more information.
- You can also try to start the mysqld daemon with:
- /usr/sbin/mysqld --skip-grant &
- You can use the command line tool
- /usr/bin/mysql to connect to the mysql
- database and look at the grant tables:
- shell> /usr/bin/mysql -u root mysql
- mysql> show tables
- Try 'mysqld --help' if you have problems with paths. Using --log
- gives you a log in /var/lib/mysql that may be helpful.
- The latest information about MySQL is available on the web at
- http://www.mysql.com
- Please consult the MySQL manual section: 'Problems running mysql_install_db',
- and the manual section that describes problems on your OS.
- Another information source is the MySQL email archive.
- Please check all of the above before mailing us!
- And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
复制代码 |
|