astralaaron Posted February 4, 2008 Report Share Posted February 4, 2008 Fatal error: Call to undefined function mysql_connect() in C:\wamp\www\siteb\mysql_con.php on line 2why could i be getting this? the name/password is correct.. and works on a different comp Link to comment Share on other sites More sharing options...
jhecht Posted February 4, 2008 Report Share Posted February 4, 2008 it means that your host doesn't have MySQL, or your server didn't install the MySQL extensions to your PHP. Link to comment Share on other sites More sharing options...
justsomeguy Posted February 4, 2008 Report Share Posted February 4, 2008 I would think that WAMP would enable the mysql extension, but it might enable mysqli and leave mysql disabled. You can open php.ini and find the line to enable mysql and uncomment it. Link to comment Share on other sites More sharing options...
Synook Posted February 5, 2008 Report Share Posted February 5, 2008 I don't have the newest version of WAMP, but I think the new release comes with no extensions installed and gives you a menu where you can check (select) the ones you want to install. At least that is what I understand from their site... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now