Results 1 to 1 of 1
Jul 28, 2013, 12:05 #1
- Join Date
- May 2011
- 0 Post(s)
- 0 Thread(s)
mysqli_connect changed my phpmyadmin password
I hope someone can help me with this issue or point me in the right direction. I installed xampp and set up the password for mysql through xampp's security page. Everything worked well, I even had to log into phpmyadmin via the password I set up through xampp's security page. All is well at this point.
The problem happened when I decided to import an old database and an old php file. The database imported okay and I still had to use the orginal password I created in xampp to access phpmyadmin. Again, everything is still okay at this point.
However, when I used the old php file to access the old database with the wrong password, that wrong password changed my original password to it. Not sure how it could do that? I had used the following in my old php file: mysqli_connect('localhost', 'root', 'oldpassword'). Any help would be greatly appreciated in trying to figure this out. Please let me know if you have any additional questions or if you need any additional info on helping me figure this out.
Thank you, Ben