Share » Forums » Install & configuration » Access Denied for user @localhost

Access Denied for user @localhost

Access Denied for user @localhost

Monday 19 January 2004 6:38:48 pm - 1 reply

Author Message

James Packham

Tuesday 20 January 2004 1:57:26 am

The "user @localhost" bit suggests you didn't enter a username when you ran mysql. You want to enter something like:

mysql -u root -p

This will prompt you for your database password.

Once you're in you should be able to show your databases etc.

Next seeing as its a fresh install and you've nothing to lose in your database, you may as well just restore the cleandata:

mysql -u root -p[database-password] plain < [path-to-ezpublish]/kernel/sql/mysql/cleandata.sql

Should do it and restore 'publish' as your admin password.

Regards,

James

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu