J:\WampServer64\bin\mysql\mysql5.1.54\bin\mysqld.exe wamp64mysqld
sc delete nom_du_service
basedir=J:/WampServer64/bin/mysql/mysql5.1.54 datadir=G:/wwwbasesToutes les bases, même "mysql", doivent se trouver dans le dossier indiqué par datadir.
J:\wamp\bin\mysql\mysql5.1.52\bin\mysqld.exe wampmysqldJe bascule vers la version mysql5.1.54-32bit et, tout se passe très bien et le service devient :
J:\wamp\bin\mysql\mysql5.1.54-32bit\bin\mysqld.exe wampmysqldMon fichier J:\wamp\bin\mysql\mysql5.1.54-32bit\my.ini est bien pris en compte.
J:\wamp\bin\mysql\mysql5.1.54-32bit\bin\mysqld wampmysqldAprès redémarrage (Ça ne peut pas faire de mal), Wampserver se lance très bien et mon fichier my.ini est bien pris en compte.
<?php $mysqlConf['mysqlConfDir'] = '.'; $mysqlConf['mysqlConfFile'] = 'my.ini'; $mysqlConf['mysqlExeDir'] = 'bin'; $mysqlConf['mysqlExeFile'] = 'mysqld.exe'; $mysqlConf['mysqlServiceInstallParams'] = '--install-manual wampmysqld'; $mysqlConf['mysqlServiceRemoveParams'] = '--remove wampmysqld'; $mysqlConf['libMysqlFile'] = 'bin/libmySQL.dll'; ?>
<?php $mysqlConf['mysqlConfDir'] = '.'; $mysqlConf['mysqlConfFile'] = 'my.ini'; $mysqlConf['mysqlExeDir'] = 'bin'; $mysqlConf['mysqlExeFile'] = 'mysqld.exe'; $mysqlConf['mysqlServiceInstallParams'] = '--install wampmysqld'; $mysqlConf['mysqlServiceRemoveParams'] = '--remove wampmysqld'; $mysqlConf['libMysqlFile'] = 'bin/libmySQL.dll'; ?>
--install Install the default service (NT). --install-manual Install the default service started manually (NT).normalement, les services wampapache et wampmysqld sont en démarrage manuel.
Default options are read from the following files in the given order: C:\Windows\my.ini C:\Windows\my.cnf C:\my.ini C:\my.cnf J:\Wamp\bin\mysql\mysql5.1.54-32bit\my.ini J:\Wamp\bin\mysql\mysql5.1.54-32bit\my.cnfdonc, regarde si il n'y aurait pas un fichier my.cnf qui trainerait.
mysqld.exe --verbose --help | morepour voir si il y a les mêmes informations de recherche du fichier de configuration