Jump to content

Error connecting to MYSQL server


webdevdea

Recommended Posts

Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /Applications/XAMPP/xamppfiles/htdocs/HeadfirstPHP/report.php on line 29

Error connecting to MYSQL serve 

	line 29>>>>>>>>>>>$dcb = mysqli_connect('localhost','root', 'root', 'aliendatabase')
	or die('Error connecting to MYSQL server.');

Link to comment
https://forums.phpfreaks.com/topic/280682-error-connecting-to-mysql-server/
Share on other sites

Yeah that did not work it still has the same issue going on.. now I have a bunch of extra users in my php admin.. I am sure its a simple fix I just have no Idea how to do it.. I have looked at the php site and done everything it has suggested and it still is not working.. ??????

Console or terminal is just a program that gives you access to different "shells" on the same or not machine. That's my understanding about that :)

 

Yea, open up a terminal and try to run this program-http://dev.mysql.com/doc/refman/5.0/en/mysql-secure-installation.html

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.