- 论坛徽章:
- 1
|
[root@linux19 tmp]# mysql
段错误
[root@linux19 tmp]# rpm -Uvh MySQL* --force --nodeps
warning: package MySQL = 3.22.27-1 was already added, replacing with MySQL <= 3.22.32-1
Preparing... ########################################### [100%]
1:MySQL-devel ########################################### [ 33%]
Giving mysqld a couple of seconds to exit nicely
2:MySQL ########################################### [ 67%]
Creating db table
Creating host table
Creating user table
Creating func table
Creating tables_priv table
Creating columns_priv table
/usr/bin/mysql_install_db: line 317: 3905 段错误 $execdir/mysqld --bootstrap --skip-grant-tables --basedir=/ --datadir=$ldata "$@" <<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
END_OF_DATA
Installation of grant tables failed!
Examine the logs in /var/lib/mysql for more information.
You can also try to start the mysqld demon 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!
Starting mysqld daemon with databases from /var/lib/mysql
/usr/bin/safe_mysqld: line 156: 3922 段错误 nohup $ledir/mysqld --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR --skip-locking "$@" >;>;$err_log 2>;&1
mysqld daemon ended
3:MySQL-client ########################################### [100%]
[root@linux19 tmp]#
哦卸载也不行,重新安装出现上面的错误,请高手指点,,,急,,,, |
|