J'ai "installé" (enfin essayé d'intallé) mysql comme conseillé par le lien suivant:
http://dev.mysql.com/doc/refman/5.0/fr/installing-binary.html
Seulement lorsque je veux lancer le serveur cela ne fonctionne pas et je vois pas ou ca coince.Quel'un à t'il une solution ?
---------------------------------------------------------------------------------------------
[root@localhost /usr/local/mysql]$ ll
total 160
drwxr-xr-x 2 root mysql 4096 jan 17 19:56 bin
-rwxr-xr-x 1 root mysql 801 déc 21 20:42 configure
-rw-r--r-- 1 root mysql 19071 déc 21 20:19 COPYING
drwxr-x--- 4 mysql mysql 4096 jan 17 20:37 data
drwxr-xr-x 2 root mysql 4096 déc 21 20:42 docs
-rw-r--r-- 1 root mysql 5712 déc 21 20:20 EXCEPTIONS-CLIENT
drwxr-xr-x 3 root mysql 4096 déc 21 20:42 include
-rw-r--r-- 1 root mysql 7937 déc 21 20:20 INSTALL-BINARY
drwxr-xr-x 2 root mysql 4096 déc 21 20:42 lib
drwxr-xr-x 3 root mysql 4096 déc 21 20:42 man
drwxr-xr-x 8 root mysql 4096 déc 21 20:42 mysql-test
-rw-r--r-- 1 root mysql 1379 déc 21 20:19 README
drwxr-xr-x 2 root mysql 4096 déc 21 20:42 scripts
drwxr-xr-x 3 root mysql 4096 déc 21 20:42 share
drwxr-xr-x 5 root mysql 4096 déc 21 20:42 sql-bench
drwxr-xr-x 2 root mysql 4096 déc 21 20:42 support-files
drwxr-xr-x 2 root mysql 4096 déc 21 20:42 tests
[root@localhost /usr/local/mysql]$ ./scripts/mysql_install_db
Installing all prepared tables
Fill help tables
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:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the ./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 . ; ./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 ./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@localhost /usr/local/mysql]$ ./bin/mysqld_safe
Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid
060117 20:38:27 mysqld ended
[root@localhost /usr/local/mysql]$
http://dev.mysql.com/doc/refman/5.0/fr/installing-binary.html
Seulement lorsque je veux lancer le serveur cela ne fonctionne pas et je vois pas ou ca coince.Quel'un à t'il une solution ?
---------------------------------------------------------------------------------------------
[root@localhost /usr/local/mysql]$ ll
total 160
drwxr-xr-x 2 root mysql 4096 jan 17 19:56 bin
-rwxr-xr-x 1 root mysql 801 déc 21 20:42 configure
-rw-r--r-- 1 root mysql 19071 déc 21 20:19 COPYING
drwxr-x--- 4 mysql mysql 4096 jan 17 20:37 data
drwxr-xr-x 2 root mysql 4096 déc 21 20:42 docs
-rw-r--r-- 1 root mysql 5712 déc 21 20:20 EXCEPTIONS-CLIENT
drwxr-xr-x 3 root mysql 4096 déc 21 20:42 include
-rw-r--r-- 1 root mysql 7937 déc 21 20:20 INSTALL-BINARY
drwxr-xr-x 2 root mysql 4096 déc 21 20:42 lib
drwxr-xr-x 3 root mysql 4096 déc 21 20:42 man
drwxr-xr-x 8 root mysql 4096 déc 21 20:42 mysql-test
-rw-r--r-- 1 root mysql 1379 déc 21 20:19 README
drwxr-xr-x 2 root mysql 4096 déc 21 20:42 scripts
drwxr-xr-x 3 root mysql 4096 déc 21 20:42 share
drwxr-xr-x 5 root mysql 4096 déc 21 20:42 sql-bench
drwxr-xr-x 2 root mysql 4096 déc 21 20:42 support-files
drwxr-xr-x 2 root mysql 4096 déc 21 20:42 tests
[root@localhost /usr/local/mysql]$ ./scripts/mysql_install_db
Installing all prepared tables
Fill help tables
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:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the ./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 . ; ./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 ./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@localhost /usr/local/mysql]$ ./bin/mysqld_safe
Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid
060117 20:38:27 mysqld ended
[root@localhost /usr/local/mysql]$