|
| ||||||||||
| Tags: access denied, error 1045, mysql, php5 |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Error 1045 - Access denied in PHP5 and MySQL
|
|
#2
| ||||
| ||||
| Re: Error 1045 - Access denied in PHP5 and MySQL
I think you need to reset your root password or create a new login with new username and password. Open mysql command line, then try to log in using your new password or NO password. If you are unable to get in, then follow the instructions specified in the manual for resetting your root password. But is are successful to login then refer your manual for creating a new username and password with admin rights. |
|
#3
| ||||
| ||||
| Re: Error 1045 - Access denied in PHP5 and MySQL
Have you entered the root password on your phpMyAdmin config file? I would recommend you to add the mysql root password in the phpMyAdmin config file. Search this file in the phpmyadmin folder and is called as "config.inc.php". Simply type the below statement in the file: "$cfg['Servers'][$i]['password'] = 'Password';" |
|
#4
| |||
| |||
| Re: Error 1045 - Access denied in PHP5 and MySQL
I tried that option fellah but the same problem persists again! Can I do that somewhere else in the phpMyAdmin other than the config.inc.php? I am asking so because when I tried that I get the message saying the problem may arise due to missing configuration file. I think I have to recreate it once again by using setting script. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Error 1045 - Access denied in PHP5 and MySQL" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| “System error 5 has occurred. Access is denied” error message while using net use on windows 7 | Nabhan | Operating Systems | 6 | 24-08-2011 09:24 PM |
| Mysql Error : Can't connect to local mysql server through socket ' var lib mysql mysql.sock' 2 | roshan45 | Software Development | 3 | 07-11-2009 08:36 PM |
| Access Denied Error with CD Sharing | ricardoramey | Hardware Peripherals | 3 | 10-09-2009 07:07 PM |
| msconfig - Access Denied Error | kyosang | Windows XP Support | 5 | 10-07-2008 11:07 PM |
| File server denied access by Domain Controller: Access is denied because of failure to authenticate | Jim | Windows Server Help | 2 | 24-05-2007 09:46 AM |