Quantcast
Viewing all articles
Browse latest Browse all 2

Connecting to mysql in xampp without password

I want to configure the mysql xampp password to no password. I opened the my.ini and I saw the following line:

# password       = password

I I don't use password what should I type?

And that's the error I get when I try to connect to mysql through php:

 mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using     password: YES) in C:\xampp\htdocs\spikes\functions.php on line 53Failed to connect to MySQL: Access denied for user 'root'@'localhost' (using password: YES)Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in     C:\xampp\htdocs\spikes\home.php on line 6

Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>