Closed Thread
Results 1 to 10 of 10

Thread: Sorry! There seems to be a problem connecting to our database.

  1. #1
    albripet is offline x10Hosting Member albripet is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    8

    Sorry! There seems to be a problem connecting to our database.

    It now shows that I have been moved from Starka to Chopin. According to the updates, all transfers have been complete, however I am still having database issues. I receive the following error:

    Sorry! There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.

    My URL is: http://thebargainshed.x10hosting.com/zencart

    Please help ASAP. I've been down for over a month!!!

    Thanks,
    Peter

  2. #2
    vishal's Avatar
    vishal is offline -::-X10 Guru-::- vishal has a brilliant futurevishal has a brilliant future
    Join Date
    Nov 2009
    Location
    INDIA
    Posts
    5,254

    Re: Sorry! There seems to be a problem connecting to our database.

    The databse name is localhost,check it.
    Last edited by vishal; 02-16-2010 at 11:21 PM.
    Regards ~ Vishal
    Giving Reputation (at bottom of my post ) is the best way to encourage the person who helped you on forums.

  3. #3
    Gouri's Avatar
    Gouri is offline Community Paragon Gouri has a brilliant futureGouri has a brilliant futureGouri has a brilliant future
    Join Date
    Oct 2007
    Location
    India
    Posts
    4,502

    Re: Sorry! There seems to be a problem connecting to our database.

    Quote Originally Posted by albripet View Post
    It now shows that I have been moved from Starka to Chopin. According to the updates, all transfers have been complete, however I am still having database issues. I receive the following error:

    Sorry! There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.

    My URL is: http://thebargainshed.x10hosting.com/zencart

    Please help ASAP. I've been down for over a month!!!

    Thanks,
    Peter
    Hi Peter,

    Did you checked the database host in your config file. It should point to localhost.
    If you feel my post is useful then click to give Reputation (bottom left corner of this post)

    X10 Hosting | News and Announcements | Premium Hosting | VPS Hosting | Prime Membership

    Tech Community | Gouri

  4. #4
    albripet is offline x10Hosting Member albripet is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    8

    Re: Sorry! There seems to be a problem connecting to our database.

    Are you talking the configuration.php within Admin under Zen-Cart? Nothing listed in the file about Database or local host.
    I am sorry, I'm a little green this level. I'm basic HTML, but can navigate the directory structure of the Zen folder and view the contents of the files no problem. I just need to know where to look and what to look for.
    Thanks BUNCHES!

    Peter

  5. #5
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,633

    Re: Sorry! There seems to be a problem connecting to our database.

    Should be in a section of the file that looks a bit like:

    Code:
    / define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', '*******');
    define('DB_SERVER_PASSWORD', '**********');
    define('DB_DATABASE', '**********');
    EDIT/ADD:

    Note that there are two configuration files...



    On the server locate the file: /catalog/includes/dist-configure.php
    Rename this file to configure.php and change the permissions to 777 (read-write-execute for all)

    Next, on the server locate the file: /catalog/admin/includes/dist-configure.php
    Rename this file to configure.php and change the permissions to 777 (read-write-execute for all)
    Last edited by descalzo; 02-18-2010 at 03:31 PM.
    Nothing is always absolutely so.

  6. #6
    albripet is offline x10Hosting Member albripet is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    8

    Re: Sorry! There seems to be a problem connecting to our database.

    Okay, I found the configuration.php under zencart/admin/includes. It had the section you spoke of. I changed it to point to localhost for the zen cart database...it still doesn't work.

    Here's how it reads now:

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'albripet_zencart');
    define('DB_SERVER_PASSWORD','');
    define('DB_DATABASE', 'albripet_zencart');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage
    Last edited by galaxyAbstractor; 02-18-2010 at 04:07 PM.

  7. #7
    Zubair's Avatar
    Zubair is offline x10 Super Spammer Zubair has a reputation beyond reputeZubair has a reputation beyond reputeZubair has a reputation beyond repute
    Join Date
    Jul 2009
    Location
    Pakistan
    Posts
    8,747

    Re: Sorry! There seems to be a problem connecting to our database.

    First of all remove your passowrd from the above post..

    Edit/Add: Go to cpanel then MYSQL Databases, Delete the user albripet_zencart remember Only User not database...

    Then add a new user with same name.. and add it to database with all priviges.
    Then update password in config file..
    and see if your problem get solved
    Last edited by Zubair; 02-18-2010 at 04:13 PM.
    Zubair Barkat | Level 2 Tech
    █ 888-X10-9668 - zubair[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  8. #8
    albripet is offline x10Hosting Member albripet is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    8

    Re: Sorry! There seems to be a problem connecting to our database.

    Okay...I deleted the user albripet_zencart and re-add with all privileges. Should I do anything with the check/repair. I did. It said all is okay.
    At any rate, I put the "new" password between the ' and the ' for DB_SERVER_PASSWORD.
    Still no work.
    BTW, I have another user name tied to the database. It's albripet_peter
    Should I remove that one?

    Thanks!
    Last edited by albripet; 02-18-2010 at 05:23 PM. Reason: Automerged Doublepost

  9. #9
    Zubair's Avatar
    Zubair is offline x10 Super Spammer Zubair has a reputation beyond reputeZubair has a reputation beyond reputeZubair has a reputation beyond repute
    Join Date
    Jul 2009
    Location
    Pakistan
    Posts
    8,747

    Re: Sorry! There seems to be a problem connecting to our database.

    Quote Originally Posted by albripet View Post
    Okay...I deleted the user albripet_zencart and re-add with all privileges. Should I do anything with the check/repair. I did. It said all is okay.
    At any rate, I put the "new" password between the ' and the ' for DB_SERVER_PASSWORD.
    Still no work.
    BTW, I have another user name tied to the database. It's albripet_peter
    Should I remove that one?

    Thanks!
    Your Website is opening fine Now! ;)

    Are you still having problem??
    Zubair Barkat | Level 2 Tech
    █ 888-X10-9668 - zubair[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  10. #10
    albripet is offline x10Hosting Member albripet is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    8

    Re: Sorry! There seems to be a problem connecting to our database.

    No more problems...THANK YOU for ALL of your help!!!


    Peter

Closed Thread

Similar Threads

  1. MySQL Database Problem
    By peeman in forum Free Hosting
    Replies: 2
    Last Post: 12-11-2009, 02:02 PM
  2. MySQL database not connecting
    By xpressdayton in forum Free Hosting
    Replies: 2
    Last Post: 12-10-2009, 06:41 PM
  3. mysql database problem
    By tascasom in forum Free Hosting
    Replies: 3
    Last Post: 10-16-2008, 06:51 PM
  4. connecting to database
    By Daiphron in forum Free Hosting
    Replies: 2
    Last Post: 01-15-2008, 11:41 PM
  5. PHP BB 2.0.16 Manual instalation
    By GFIV in forum Free Hosting
    Replies: 8
    Last Post: 09-14-2005, 12:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers