Database error question!

  • Time
  • Show
Clear All
new posts
  • manutdvn
    Senior Member
    • Jul 2005
    • 378
    • 3.5.x

    Database error question!


    I got this error. Can you tell me how can I fix this?

    mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to MySQL server on '' (111) /hermes/web06/b2628/pow.mylan/htdocs/diendan/includes/class_core.php on line 279
    Thanks in advance.
  • Colin F
    Senior Member
    • May 2004
    • 17689

    That means that either the details in your config.php file are incorrect, or the mysql server is down/not reachable.

    Ask your host about the status of the mysql server, and if he says everything is fine, ask him to confirm the details you have in your config.php file.
    Best Regards
    Colin Frei

    Please don't contact me per PM.


    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.