怎样启动mysql?
安装以下两个rpm
MySQL-client-4.0.18-0.i386.rpm
MySQL-server-4.0.18-0.i386.rpm
成功后,在服务处可见mysql运行.
终端输入:
[root@localhost root]# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[root@localhost root]# mysql -h 127.0.0.1
ERROR 2003: Can't connect to MySQL server on '127.0.0.1' (111)
[root@localhost bin]# mysqld
Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
051215 11:19:00 Aborting
051215 11:19:00 mysqld: Shutdown Complete
可能因为不能用root来启动,尝试用mysql启动,
chown mysql.mysql -R /var/lib/mysql
mysqld --user=mysql &
提示can't open privilege tables:file /usr/share/mysql/charsers/?.conf not found....shutdown
start了然后fatal error shutdown了
这个是什么问题?
麻烦各位指点一下我拉,谢谢
<!-- / message --><TABLE style="MARGIN: 10px 7px 3px 4px" cellSpacing=0 cellPadding=0 align=right border=0><TBODY><TR><TD><!--[url="http://www.uplooking.com/"]免费linux公开课,,现在报名![/url]
--><IFRAME marginWidth=0 marginHeight=0 src="/image/google/linux_234_60.html" frameBorder=0 width=234 scrolling=no height=60></IFRAME></TD></TR></TBODY></TABLE>