Mysql said: #1045 - access denied for user: ...

How to use phpmyadmin.... phpmyadmin related arguments. Even phpMyAdmin issues

Moderators: macek, egami, gesf

tekquest
New php-forum User
New php-forum User
Posts: 6
Joined: Sun Dec 07, 2003 10:34 pm

Mysql said: #1045 - access denied for user: ...

Postby tekquest » Wed Dec 10, 2003 11:43 pm

Hi guys,

I recently installed mysql and installed phpmyadmin into my document root directory for apache.

When I open the browser to my phpadmin page (http://192.168.2.15/phpmyadmin/index.php) I get the following error:

Error
MySQL said:
#1045 - Access denied for user: 'root@localhost' (Using password: NO)

I can access the mysql database from "mysql control centre" and modify tables etc.

I have read extensively about modifying the config.inc.php file to include the root password / username, but after my attemps to put the admin user and password on every like it requests a password, it still returns the above error message.

Does anyone have a working Phpmyadmin config file they could post? (quote out your passwords of course), I cant find any examples from searching.

I would appreciate any input anyone might be able to give.

Thanks for reading,

Luke.

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

phpadmin

Postby ruturajv » Thu Dec 11, 2003 3:18 am

hi,
first what do you do to access mysql via the command prompt???
and after doing that do you have access to the table "mysql"??

put that username and password....

if you just access it as

Code: Select all

>mysql

mysql>

then you are not using any password or username..
thats it. don't enter any password and username in the config.inc.php file


Return to “phpMyAdmin”

Who is online

Users browsing this forum: No registered users and 1 guest