Jump to content

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

Edited by jazzman1
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.