
03.01.2008, 21:26
|
|
Постоянный
Регистрация: 07.11.2007
Сообщений: 392
Провел на форуме: 1325167
Репутация:
100
|
|
Запустил.
Нарисовал
[root@localhost mysql]# '/usr/local/mysql/bin/mysql_install_db'
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/local/mysql/bin/mysqladmin -u root password 'new-password'
/usr/local/mysql/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr/local/mysql ; /usr/local/mysql/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/local/mysql/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
[1]+ Done /usr/local/mysql/bin/mysqld_safe
Вывел строку
/usr/local/mysql/bin/mysqladmin -u root password 'password'
Ответил
/usr/local/mysql/bin/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!
То есть он настройчиво требует соединения...
С
/usr/local/mysql/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
Проделано тоже самое.
Эффект тот же.
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost.localdomain' failed error: 'Lost connection to MySQL server at 'reading initial communication packet', system error: 111'
|
|
|