Local host problem
By maz1207
@maz1207 (221)
Malaysia
January 2, 2012 6:59am CST
Hi, am uploading some scripts on my website but when i go live on Google chrome / browser, i will get these -Access denied for user 'moneysal'@'localhost' (using password: NO)
Anyone knows why that happened and it's solution? Please help. Thank you.
1 person likes this
3 responses
@lovedude (4447)
• India
4 Jan 12
I guess conclusion of your problem is : "your connection string is not able to access your database" you need to configure with credentials given by your web-hosting company..
say for example I am making my site with mysql database in backend and php in front end.. I need to have following syntax :
$conn = mysql_connect($database,$user,$password);
it's connection object here..
most of web service providers db on the same server so you need to specify database location as localhost and userid and password..
so you find out what are you uploading and how it connects with database.. check that connection string..make sure userid and passwords are the same as your hosting provider..
Good Luck..
@rajesh5012 (450)
• India
2 Jan 12
What kind of script is it? java script or php? i am good at java and java script. I can help you if i get the complete code of you. send me a message in mylot with complete explanation of your program. i'll try my best