SQLSTATE[28000] [1045] Access denied for user 'XXXXX'@'localhost' (using password: YES)
I created this user with appropriate privileges in phpMyAdmin.
I've read MySQL ERROR 1045 (28000): Access denied for user 'bill'@'localhost' (using password: YES) and have questions:
1) Will the error message be the same if I have a user name but the password is different or will it give me a different error (methinks the error is the same regardless) but need to be sure.
2) Could this issue have anything whatsoever to do with too little hard drive space?
3) GRANT ALL PRIVILEGES ON
XXXXXXX_%.* TO 'XXXXXXX'@'localhost'WITH GRANT OPTION;
I ran this query, this user has full privleges:
REVOKE ALL PRIVILEGES ON `XXXXXXX_%` . * FROM 'XXXXXXX'@'localhost';
REVOKE GRANT OPTION ON `XXXXXXX_%` . * FROM 'XXXXXXX'@'localhost';
GRANT ALL PRIVILEGES ON `XXXXXXX_%` . * TO 'XXXXXXX'@'localhost';
Was this the right thing to do?
4) I have access to the app/etc/local.xml file, what - if anything should I check in there to see if I'm on the right track? I see the user name appropriately listed there but... I cannot seem to find a reference to the livedb for dbname anywhere in phpMyAdmin, where could I look?
<connection>
<host><![CDATA[localhost]]></host>
<username><![CDATA[XXXXXXX]]></username>
<password><![CDATA[XXXXXXXXXX]]></password>
<dbname><![CDATA[XXXXX_livedb]]></dbname>
<initStatements><![CDATA[SET NAMES utf8]]></initStatements>
<model><![CDATA[mysql4]]></model>
<type><![CDATA[pdo_mysql]]></type>
<pdoType><![CDATA[]]></pdoType>