Bonjour,
Je suis depuis le début le document "install-binary" fourni dans l'archive MySQL et je bute depuis quelques heures sur l'étape 7. En effet, lorsque je tape la commande scripts/mysql_install_db --user=mysql , le shell me renvoie ceci :
Le programme « mysql_install_db » se trouve dans les paquets suivants :
* mysql-server-5.1
* mysql-server-5.0
Essayez : apt-get install <paquet sélectionné>
mysql_install_db: command not found
Lorsque je me place dans le répertoire /scripts et tape la commande ls -l pour vérifier la présence du fichier, le shell affiche bien mysql_install_db dans son affichage, mais il n'y a aucune trace des paquets mysql-server-5.1 et mysql-server-5.0.
Que faire?
But de l'étape 7 d'après le tuto :
7. If you have not installed MySQL before, you must create the
MySQL data directory and initialize the grant tables:
shell> scripts/mysql_install_db --user=mysql
If you run the command as root, include the --user option as
shown. If you run the while logged in as that user, you can
omit the --user option.
The command should create the data directory and its contents
with mysql as the owner.
After creating or updating the grant tables, you need to
restart the server manually.
Partager