db connect error

 
Post new topic   Reply to topic    Aprelium Forum Index -> Databases
View previous topic :: View next topic  
Author Message
BigBen747
-


Joined: 30 May 2007
Posts: 28

PostPosted: Wed Jul 25, 2007 3:17 pm    Post subject: db connect error Reply with quote

I keep getting a error, when i stopped the sql server and the web server, when doing something, and when i started it back up, I got:
Fatal error: Call to undefined function mysql_connect() in H:\Program Files (x86)\Abyss Web Server\htdocs\lbc\db\mysql4.php on line 48
Back to top View user's profile Send private message
loloyd
-


Joined: 03 Mar 2006
Posts: 435
Location: Philippines

PostPosted: Thu Jul 26, 2007 4:16 am    Post subject: Reply with quote

try restarting your mysql server and see if that works.
_________________

http://home.loloyd.com/ is online if the logo graphic at left is showing.
Back to top View user's profile Send private message Visit poster's website
BigBen747
-


Joined: 30 May 2007
Posts: 28

PostPosted: Thu Jul 26, 2007 4:24 am    Post subject: Reply with quote

i've done that ( a lot of times ) even reinstalled it, and reconfigerd it, and restarted the webserver. Same error.
Back to top View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Thu Jul 26, 2007 1:15 pm    Post subject: Re: db connect error Reply with quote

BigBen747 wrote:
Fatal error: Call to undefined function mysql_connect() in H:\Program Files (x86)\Abyss Web Server\htdocs\lbc\db\mysql4.php on line 48


This error refers to your PHP config. It indicates that the mysql libraries are not available. Have you enabled them in the config file?
_________________
Olly
Back to top View user's profile Send private message
BigBen747
-


Joined: 30 May 2007
Posts: 28

PostPosted: Thu Jul 26, 2007 2:05 pm    Post subject: Reply with quote

where is it at?
Back to top View user's profile Send private message
loloyd
-


Joined: 03 Mar 2006
Posts: 435
Location: Philippines

PostPosted: Fri Jul 27, 2007 2:56 am    Post subject: Reply with quote

look for all instances of "mysql" in your php.ini file and check on them.

my guess is, under Extensions section, you have not enabled the mysql extension.

extension=php_mysql.dll

if you see a
;extension=php_mysql.dll
remove the leading semi-colon.
_________________

http://home.loloyd.com/ is online if the logo graphic at left is showing.
Back to top View user's profile Send private message Visit poster's website
BigBen747
-


Joined: 30 May 2007
Posts: 28

PostPosted: Fri Jul 27, 2007 3:04 am    Post subject: Reply with quote

its enabled, also i checked the others, there good i guess.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Jul 27, 2007 11:53 pm    Post subject: Reply with quote

BigBen747 wrote:
its enabled, also i checked the others, there good i guess.


Have you enabled it in the right php.ini file?
We strongly suggest that you use our preconfigured PHP 5 package which support MySQL out of the box: http://www.aprelium.com/abyssws/php5win.html .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Databases All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group