PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mysql installationsprobleme



SebastianMI
29.12.03, 19:31
Ich habe bei mir eine mysql datenbank installiert.
Habe mich an das Toturial von
http://lamps.efactory.de/lamps-2-0.shtml gehalten.
Nach Configure, make und make install
habe ich mit /scripts/mysql_install_db versucht alles einzurichten bekamm aber


localhost:/usr/local/lamp/mysql/current/bin# /usr/src/lamp/mysql-3.23.58/scripts/mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
ERROR: 1062 Duplicate entry 'localhost-root' for key 1
ERROR: 1062 Duplicate entry 'localhost-root' for key 1
031229 19:14:50 /usr/local/lamp/mysql/3.23.58/libexec/mysqld: Shutdown Complete


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 !
This is done with:
/usr/local/lamp/mysql/3.23.58/bin/mysqladmin -u root password 'new-password'
/usr/local/lamp/mysql/3.23.58/bin/mysqladmin -u root -h localhost password 'new-password'
See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr/local/lamp/mysql/3.23.58 ; /usr/local/lamp/mysql/3.23.58/bin/safe_mysqld &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; run-all-tests
[...]


Das problem scheine die errors zu sein.

In der localhost.err seht noch

031229 19:29:51 /usr/local/lamp/mysql/3.23.58/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)

wenn ich versuch den server zu starten.

Habe als system debian sarge und alle schritte als root gemacht.