nixp.ru v3.0

26 апреля 2024,
пятница,
22:06:43 MSK

anonymous написал 20 января 2006 года в 00:35 (609 просмотров) Ведет себя неопределенно; открыл 1814 темы в форуме, оставил 5575 комментариев на сайте.

Странные вещи творятся…. десятки раз собирал подобным образом связку Apache+MySql+PHP и все работало идиально… Использую Slackware 10.2 kernel 2.6.15, Apache 2.0.55, MySql 4.1.16, php 4.4.1. Так в чем же грабли…? А вот в чем: компилю MySql с серцов (делал это много раз) все проходит идеально. затем запускаю ./mysql_install_db и получаю

root@darkstar:/usr/local/mysql/bin# ./mysql_install_db

Installing all prepared tables

Fill help tables

ERROR: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near » at line 1

060119 22:58:01 [ERROR] Aborting

060119 22:58:01 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

./mysql_install_db: line 299: 1969 Broken pipe cat $fill_help_tables

WARNING: HELP FILES ARE NOT COMPLETELY INSTALLED!

The «HELP» command might not work properly

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 darkstar password 'new-password'

See the manual for more instructions.

NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run

the /usr/local/mysql/bin/mysql_fix_privilege_tables. Otherwise you will not be

able to use the new GRANT command!

You can start the MySQL daemon with:

cd /usr/local/mysql ; /usr/local/mysql/bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the ’sql-bench' directory:

cd sql-bench ; perl run-all-tests

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 https://order.mysql.com

Попробовал запустить..

root@darkstar:/usr/local/mysql/bin# ./mysqld_safe -u mysql

Starting mysqld daemon with databases from /usr/local/mysql/var

STOPPING server from pid file /usr/local/mysql/var/darkstar.pid

060119 23:01:05 mysqld ended

в логах увидел следующее:

060119 23:01:04 mysqld started

/usr/local/mysql/libexec/mysqld: File './darkstar-bin.index' not found (Errcode: 13)

060119 23:01:05 [ERROR] Could not use darkstar-bin for logging (error 13). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it.

060119 23:01:05 [ERROR] Aborting

060119 23:01:05 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

060119 23:01:05 mysqld ended

не понимаю уже где копать… грешным делом снес систему и поставил заного, результат 0.

может кто то сталкивался с этим… объсните как с эти бароться.

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.