Déjà fait :
NB : Le 127 a remplacé le prompt précédent après que j'ai essayé une première fois la méthode, apparemment 127.0.0.1 c'est trop dur pour lui.
Bloc de code:
127:~ romain$ sudo find /usr/local/mysql/data -type f -exec rm {} ';'
127:~ romain$ sudo hostname 127.0.0.1
127:~ romain$ cd /usr/local/mysql
127:/usr/local/mysql romain$ sudo ./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
050203 23:05:29 Warning: Setting lower_case_table_names=2 because file system for /usr/local/mysql-standard-4.0.23-apple-darwin6.8-powerpc/./data/ is case insensitive
050203 23:05:29 ./bin/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 !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h 127.0.0.1 password 'new-password'
See the manual for more instructions.
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
127:/usr/local/mysql romain$ sudo chown -R mysql data/
127:/usr/local/mysql romain$ sudo chown -R mysql data/
127:/usr/local/mysql romain$ sudo ./bin/mysqld_safe &
[1] 27164
127:/usr/local/mysql romain$ Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/127.0.0.1.pid
050203 23:05:47 mysqld ended
NB : Le 127 a remplacé le prompt précédent après que j'ai essayé une première fois la méthode, apparemment 127.0.0.1 c'est trop dur pour lui.