# ./mysqladmin -u root password 'petrodg.com'
./mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
# ./mysqladmin -u root password petrodg.com
./mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
#作者: peng 时间: 2003-12-26 16:49 标题: mysql装完了以后,如何才能启动,还需要进行什么配置吗? 是不是你应该先创建mysql用户啊。。