Local host problem

@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..
@lovedude (4447)
• India
5 Jan 12
:-) you are always welcome.. it's nice comments to read.. :-) thanku thanku for such comments.. hahaha.
@maz1207 (221)
• Malaysia
5 Jan 12
Hello, you are very talented and good. Yes, i am having trouble with that as i'm confused on which DB info to use on it. I will try to check it later. Thank you! this is the type of comment i'm waiting for. Not just a comment, it's an answer to solve it.
• 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
@maz1207 (221)
• Malaysia
2 Jan 12
I think it' javascript. it's a CPA script buy i dont really know what is wrong with it. where can i find localhost?
@FluxNL (503)
• Netherlands
2 Jan 12
Try using Internet explorer or other browsers? Maybe that is helping.
@maz1207 (221)
• Malaysia
2 Jan 12
I don't think it's because of browser. It's maybe came from my cpanel.