2 Replies - 4060 Views - Last Post: 16 August 2012 - 08:42 AM Rate Topic: -----

#1 basic279  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 16-August 12

Error: Could not load database file mysql!

Posted 16 August 2012 - 07:01 AM

Hello guys,
I developed a website in OpenCart locally. Now, i have uploaded it to my web-hosting server. The front end of the e-shop loads properly but when i try to load backoffice or admin area, i am getting Error: Could not load database file mysql!

my code is:

// DB
define('DB_DRIVER','mysql');
define('DB_HOSTNAME','localhost');
define('DB_USERNAME','kla_user');
define('DB_PASSWORD','*****');
define('DB_DATABASE','kla_db');
define('DB_PREFIX','kla_')



What could be the possible reason? i asked some friend and he told me that this sort of errors are basically driver errors...have your say and please help me to solve this.

Is This A Good Question/Topic? 0
  • +

Replies To: Error: Could not load database file mysql!

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6092
  • View blog
  • Posts: 23,613
  • Joined: 23-August 08

Re: Error: Could not load database file mysql!

Posted 16 August 2012 - 07:12 AM

Contact your webhosting provider. They'll be able to give you the help you need. You're paying them, after all.
Was This Post Helpful? 0
  • +
  • -

#3 basic279  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 16-August 12

Re: Error: Could not load database file mysql!

Posted 16 August 2012 - 08:42 AM

I just contacted them and they said that everything is working fine at their end..and they suggested me to install a clean copy of opencart, which i dont want to do :(...
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1