|
|
|
Gроблема с запуском mysql_install_db
|
|||
|---|---|---|---|
|
#18+
Доброго времени суток. Собираю сервер с сорцов с ограниченными правами. При конфиге инсталла менял префикс на /opt/mysql. При запуске скрипта mysql_install_db вылетает такая ошибка: авторWARNING: The host 'host' could not be looked up with resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MySQL version. The MySQL daemon, mysqld, should work normally with the exception that host name resolving will not work. This means that you should use IP addresses instead of hostnames when specifying MySQL privileges ! mkdir: невозможно создать каталог «/var/lib/mysql»: Отказано в доступе chmod: невозможно получить доступ к «/var/lib/mysql»: Нет такого файла или каталога mkdir: невозможно создать каталог «/var/lib/mysql»: Отказано в доступе chmod: невозможно получить доступ к «/var/lib/mysql/mysql»: Нет такого файла или каталога mkdir: невозможно создать каталог «/var/lib/mysql»: Отказано в доступе chmod: невозможно получить доступ к «/var/lib/mysql/test»: Нет такого файла или каталога Installing MySQL system tables... 131031 17:29:44 [Warning] Can't create test file /var/lib/mysql/host.lower-test 131031 17:29:44 [Warning] Can't create test file /var/lib/mysql/host.lower-test /opt/mysql/libexec/mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 2) 131031 17:29:44 [ERROR] Aborting 131031 17:29:44 [Note] /opt/mysql/libexec/mysqld: Shutdown complete Installation of system tables failed! Examine the logs in /var/lib/mysql for more information. You can try to start the mysqld daemon with: shell> /opt/mysql/libexec/mysqld --skip-grant & and use the command line tool /opt/mysql/bin/mysql to connect to the mysql database and look at the grant tables: shell> /opt/mysql/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. Please consult the MySQL manual section 'Problems running mysql_install_db', and the manual section that describes problems on your OS. Another information source are the MySQL email archives available at http://lists.mysql.com/. Please check all of the above before mailing us! And remember, if you do mail us, you MUST use the /opt/mysql/bin/mysqlbug script! Собственно, вопрос. Можно ли как-то сделать чтоб оно в /var/lib не лезло? Или дать ему права на /var/lib/mysql? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 31.10.2013, 19:46:27 |
|
||
|
|

start [/forum/topic.php?fid=47&msg=38449806&tid=1835803]: |
0ms |
get settings: |
7ms |
get forum list: |
19ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
31ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
24ms |
get tp. blocked users: |
1ms |
| others: | 204ms |
| total: | 302ms |

| 0 / 0 |
