in reply to unable to connect to mysql database
Please enclose your code in code tags as referenced in How do I post a question effectively?
There's nothing in your code that looks wrong, but what exactly is the error that is being reported? If this is on a web server, try running the code from a shell prompt instead or just examine the error log.
|
---|