![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
18/09/2006, 18:14
|
![Avatar de jam1138](http://static.forosdelweb.com/customavatars/avatar70609_1.gif) | /** @package Moderador */ | | Fecha de Ingreso: julio-2004 Ubicación: sèveR led onieR lE
Mensajes: 9.368
Antigüedad: 20 años, 6 meses Puntos: 102 | |
Cita: 10. My MySQL scripts don't work anymore with WAMP5 1.4.* / MySQL 4.1.*
Since MySQL 4.1.*, the password encryption method has changed in MySQL, you cannot use the mysql functions to connect to your server (if you have a password). You should now use the mysqli extension (and the mysqli_* functions).
If you really need to use the mysql extension, you have two solutions. First, really simple, is to add
old_passwords
at the end of your mywamp.ini file (located in your windows directory). Restart your server and that's it, you'll be able to connect to your server.
Second solution is to use the old_password() function to change your mysql user's passwords. More info about this in the MySQL documentation : http://dev.mysql.com/doc/mysql/en/old-client.html http://www.wampserver.com/en/faq.php#q10 |