Could not connect: Access denied for user shout1@localhost (using password:YES) 'Error PHP / MySQL -


i have script set on site static shoutbox page people leave comments etc.

everthing /was/ working fine. have set constants in shoutbox.php file such;

define("host", "localhost");  define("user", "shout1"); define("password", "xxxxxxxx");  define("db", "shout1"); 

my database called shout1 , user name assigned same. have created table on database called shoutbox has 4 entries of id (int), date, user (varchar) & message (varchar) believe fine.

when go domain in question http://p4blo.it/shoutbox error mentioned in title advising access denied @localhost shout1

any ideas? have double , triple checked, deleted db , tables, recreated etc.

edit: forgot mention, user shout1 has been assigned access full privileges database shout1

looks host runs cpanel. in cpanel have carefull user , database names, since prefixed cpanel-username. eg. if cpanel-username "p4blo" database called "p4blo_shout1" , username "p4blo_shout1".


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -