Fix: Bad setup of phpMyAdmin for DoliWamp installer.

This commit is contained in:
Laurent Destailleur 2010-05-16 22:39:17 +00:00
parent 8fb412be2b
commit 59e43b289f
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,10 @@
English Dolibarr ChangeLog
***** ChangeLog for 2.8.2 compared to 2.8.1 *****
For users:
- Fix: Bad setup of phpMyAdmin for DoliWamp installer.
***** ChangeLog for 2.8.1 compared to 2.8 *****
For users:
- Fix: Works on database with _ in name.

View File

@ -55,7 +55,7 @@ $i = 0;
// full server array, just define values you need to change.
$i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = '3307'; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['port'] = 'WAMPMYSQLPORT'; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysqli'; // The php MySQL extension to use ('mysql' or 'mysqli')

View File

@ -551,6 +551,7 @@ begin
// sinon on prends le fichier par defaut
LoadStringFromFile (srcFile, srcContents);
StringChange (srcContents, 'WAMPMYSQLNEWPASSWORD', mypass);
StringChange (srcContents, 'WAMPMYSQLPORT', myport);
SaveStringToFile(destFile,srcContents, False);
end