cannot connect to mysql on windows
cannot connect to mysql on windows
am 23.02.2006 00:01:37 von raj
Hello,
I have apache 2 and mysql 4.1 and php5 and am unable to connect to mysql
database server, and keep getting the following error:
Fatal error: Call to undefined function mysql_connect() in
D:\backup\test.php on line 10
I have removed the semicolon before the line:
extension=php_mysql.dll
I do have the extension at C:/php/ext/
also, I even have the server running but no luck.
Please help.
Raj
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: cannot connect to mysql on windows
am 25.02.2006 15:23:39 von El Bekko
raj wrote:
> Hello,
>
> I have apache 2 and mysql 4.1 and php5 and am unable to connect to mysql
> database server, and keep getting the following error:
>
> Fatal error: Call to undefined function mysql_connect() in
> D:\backup\test.php on line 10
>
> I have removed the semicolon before the line:
>
> extension=php_mysql.dll
>
> I do have the extension at C:/php/ext/
> also, I even have the server running but no luck.
>
> Please help.
>
> Raj
Does it include MySQL information when phpinfo(); is called?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: cannot connect to mysql on windows
am 27.02.2006 04:49:27 von raj
No, It doesn't show mysql when phpinfo is called. Also, the problem was
solved when I reconfiguerd PHP as a CGI and not as an apache module. But in
general interest if anyone can suggest a solution it would be appreciated.
Raj
"El Bekko" wrote in message
news:B3.3A.30574.36860044@pb1.pair.com...
> raj wrote:
>> Hello,
>>
>> I have apache 2 and mysql 4.1 and php5 and am unable to connect to mysql
>> database server, and keep getting the following error:
>>
>> Fatal error: Call to undefined function mysql_connect() in
>> D:\backup\test.php on line 10
>>
>> I have removed the semicolon before the line:
>>
>> extension=php_mysql.dll
>>
>> I do have the extension at C:/php/ext/
>> also, I even have the server running but no luck.
>>
>> Please help.
>>
>> Raj
> Does it include MySQL information when phpinfo(); is called?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: cannot connect to mysql on windows
am 27.02.2006 04:49:56 von raj
No, It doesn't show mysql when phpinfo is called. Also, the problem was
solved when I reconfiguerd PHP as a CGI and not as an apache module. But in
general interest if anyone can suggest a solution it would be appreciated.
Raj
"El Bekko" wrote in message
news:B3.3A.30574.36860044@pb1.pair.com...
> raj wrote:
>> Hello,
>>
>> I have apache 2 and mysql 4.1 and php5 and am unable to connect to mysql
>> database server, and keep getting the following error:
>>
>> Fatal error: Call to undefined function mysql_connect() in
>> D:\backup\test.php on line 10
>>
>> I have removed the semicolon before the line:
>>
>> extension=php_mysql.dll
>>
>> I do have the extension at C:/php/ext/
>> also, I even have the server running but no luck.
>>
>> Please help.
>>
>> Raj
> Does it include MySQL information when phpinfo(); is called?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php