Pages : 1
#1 Le 05/07/2007, à 23:13
- toma
script "mysql_secure_installation" défectueux ?
Bonsoir,
Voilà, je viens de suivre l'installation d'un serveur LAMP du wiki sous Dapper. Mais voilà, le petit script cité dans le titre ne fonctionne pas chez moi je suis pas à pas les réponses données dans le wiki et voilà ce qu'il se passe :
$ sudo mysql_secure_installation
Password:
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.
Set root password? [Y/n]
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n]
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
... Failed!
Voilà, je pense que je vais trouver comment faire sans utiliser se script (enfin j'espère), mais je me demandais si j'étais le seul chez qui ça ne fonctionne pas ? Surtout que je ne peux pas me connecter à mysql avec le password que je viens de définir !
J'ai réinstallé, ça fait la même chose. Et si quelqu'un a une idée d'ou ca peut venir, ça m'intéresse.
... when you look long into an abyss, the abyss also looks into you.
-- Friedrich Nietzsch
Hors ligne
Pages : 1