Evy Posted September 30, 2016 Share Posted September 30, 2016 I have done all the coding perfect for 'Script 12.5 - add_entry.php. But if I add details to the title and entry fill in space it shows me the following errors: Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\add_entry.php on line 14Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in C:\xampp\htdocs\add_entry.php on line 15Warning: mysql_error() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\add_entry.php on line 38Warning: mysql_close() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\add_entry.php on line 43 if it might be the server that I'm using please help me to configure. Link to comment Share on other sites More sharing options...
Larry Posted September 30, 2016 Share Posted September 30, 2016 Yes, so that first error is the important one, which says you're not using the right username/password combination for MySQL. I thiiiink by default there is no password for the root user in MySQL on XAMPP, but I could be wrong. I would try that unless you've actually set the root user password yourself. Link to comment Share on other sites More sharing options...
Recommended Posts