daboymac Posted October 2, 2007 Share Posted October 2, 2007 i get an error message sayin Fatal error: Call to undefined function mysqli_connect() in C:\htdocs\Untitled-1.php on line 15 Quote Link to comment https://forums.phpfreaks.com/topic/71555-cant-connect-to-mysql/ Share on other sites More sharing options...
wildteen88 Posted October 2, 2007 Share Posted October 2, 2007 Do you have the mysqli extension (php_mysqli.dll) enabled within the php.ini You can only use the mysqli_* functions with the mysqli extension. You cannot use them with the standard mysql extension. Also mysqli is only for PHP5 or greater. Quote Link to comment https://forums.phpfreaks.com/topic/71555-cant-connect-to-mysql/#findComment-360285 Share on other sites More sharing options...
daboymac Posted October 6, 2007 Author Share Posted October 6, 2007 i enabled that now it says this Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'lbobmanuel'@'localhost' (using password: YES) in C:\xampp\htdocs\Untitled-1.php on line 15 Quote Link to comment https://forums.phpfreaks.com/topic/71555-cant-connect-to-mysql/#findComment-363452 Share on other sites More sharing options...
wildteen88 Posted October 6, 2007 Share Posted October 6, 2007 That is to do with mysql. Make sure you have setup the correct user permissions for the lbobmanuel user in mysql. Quote Link to comment https://forums.phpfreaks.com/topic/71555-cant-connect-to-mysql/#findComment-363454 Share on other sites More sharing options...
chillininvt Posted October 8, 2007 Share Posted October 8, 2007 The user name and password you supplied is invalid. Quote Link to comment https://forums.phpfreaks.com/topic/71555-cant-connect-to-mysql/#findComment-364524 Share on other sites More sharing options...
daboymac Posted October 8, 2007 Author Share Posted October 8, 2007 im not sure that happened but i re installed all the programs and set the root password to " " and it works now...thanx for all the help Quote Link to comment https://forums.phpfreaks.com/topic/71555-cant-connect-to-mysql/#findComment-364718 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.