when i enter my domain to browser the following error is shown:
"Database Error: Unable to connect to the database:Could not connect to MySQL"
Please help me! I am new to web designing.
when i enter my domain to browser the following error is shown:
"Database Error: Unable to connect to the database:Could not connect to MySQL"
Please help me! I am new to web designing.
Your PHP script has some errors in it and can't connect to your MySQL Database. You need to change some stuff around to get it to work.
The error message tells us the same thing it tells you
can not connect to data base
To help you we need more info from you like
did your site every load ?
what did you use to 'program' your site with ?
did you write a script to connect to your data base ?
anything else you can tell us about you site program
For more on what to post when asking for help, read over "How To Ask Questions The Smart Way". Also read "Stay secure while getting support."
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.
I am using dreamweaver(HTML) and this is the first time I am creating online websites. How do I actually link the database?