2. [root@obwind root]# mysqladmin --print-defaults mysqladmin would have been started with the following arguments:
然后:
[root@obwind root]# mysqladmin --socket=/tmp/mysqld.sock version mysqladmin: connect to server at ''''localhost'''' failed error: ''''Can''''t connect to local MySQL server through socket ''''/tmp/mysqld.sock'''' (2)'''' Check that mysqld is running and that the socket: ''''/tmp/mysqld.sock'''' exists!
看来还是不行...
这个时候进服务里面看,有了mysqld这个选项,打勾然后启动后:
[root@obwind cdrom]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 to server version: 3.23.58
Type ''''help;'''' or ''''\h'''' for help. Type ''''\c'''' to clear the buffer.