MySQL not using my.ini
Posted by: R.e.S.T.Art (---.static.corbina.ru)
Date: June 23, 2009 05:15PM

Hello everybody,
I'm new to WAMP. I faced a problem, that MySQL is not using its config. Php was not using its config too, but i changed system variable phprc, and registry key with path to php.ini and it helped. But I can not find the reason why MySQL is not using its my.ini config file. It seems that wampserver.conf is useless on my system((((

I think the reason of my troubles is that i'm using Zend Studio 5.5.

Hope you can explain me what to do

Options: ReplyQuote
Re: MySQL not using my.ini
Posted by: R.e.S.T.Art (---.static.corbina.ru)
Date: June 23, 2009 09:16PM

Solved.
This script will show all info about paths:
<?php
$link = mysql_connect('localhost', 'root', '');
$result = mysql_query('SHOW VARIABLES', $link);
while ($row = mysql_fetch_assoc($result)) {
echo $row['Variable_name'] . ' = ' . $row['Value'] . "<br />";
}
?>

Options: ReplyQuote


Sorry, only registered users may post in this forum.