Closed Thread
Results 1 to 6 of 6

Thread: www.tehachapircflyer.com not working

  1. #1
    linkadrip is offline x10Hosting Member linkadrip is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    8

    www.tehachapircflyer.com not working

    Database Error: Unable to connect to the database:Could not connect to MySQL

    Did a DB check & said it was fine through the CPpanel & a DB repair through the Cpanel still
    get that error allthe files appear to be in there proper location in the file manager.

  2. #2
    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,635

    Re: www.tehachapircflyer.com not working

    Did it ever work?
    Did it just stop working?
    Did you make any recent changes?
    Chopin, your server, seems to be working with its MySQL at the moment (checked another account that uses Chopin)
    Nothing is always absolutely so.

  3. #3
    Anna's Avatar
    Anna is online now I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: www.tehachapircflyer.com not working

    Did you by any chance change your cPanel password? I saw that you use your cpanel username to connect to your database, which means you'd have to update the configuration file for your script (configuration.php in your case) to reflect that password change.

    We always recommend that you create a user in cPanel, under mySQL databases, that you connect to the database and use with the scripts. I'd therefor recommend that you create a database user and update the scripts configuration file to use that user/password combination.
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

  4. #4
    linkadrip is offline x10Hosting Member linkadrip is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    8

    Re: www.tehachapircflyer.com not working

    Quote Originally Posted by descalzo View Post
    Did it ever work?
    Did it just stop working?
    Did you make any recent changes?
    Chopin, your server, seems to be working with its MySQL at the moment (checked another account that uses Chopin)
    Yes the site was working fine
    awhile back i had an issue with it and changed the Configuration.php to
    var $dbtype = 'mysql';
    var $host = 'localhost';
    and its been working fine up till now
    ive been using the same password since i started the site wouldnt think it would all the sudden stop working since its been working for quite awhile just fine but i'll look in the config php file again to see if something may have changed.

  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,635

    Re: www.tehachapircflyer.com not working

    Some ideas...

    1. cPanel-->MySQL Remote Hosts
    Add % to the list if it is not there

    2. cPanel-->MySQL Databases
    Try dropping the user from the database and adding it back with ALL PRIVILEGES

    3. cPanel-->MySQL Databases
    Try deleting the user and recreating with the same password and then adding to database
    Nothing is always absolutely so.

  6. #6
    linkadrip is offline x10Hosting Member linkadrip is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    8

    Re: www.tehachapircflyer.com not working

    well apparently i have totally jacked it up. so guess i'll just start over i have a backup of the site im apparently not tech literate enough to get the script to reallocate itself with the files in the file manager.
    I deleted the old DB apparently that wasn't the smartest move there & created a new one and associated a user with it.
    So i have a DB then i changed the Configuration.php and put the new user name and DB in but as can clearly be seen i jacked it up.
    tablesession::Store Failed
    DB function failed with error number 1146
    Table 'patrick_rcflyer.jos_session' doesn't exist SQL=INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`clie nt_id` ) VALUES ( 'ba19fdd02829708c1b046fd296329b1b','1300745865','' ,'0','1','0' )
    so i guess it time to figure out a new plan..Just wish i knew how to get the new DB to connect with the files since there there the site is there but the script is not in the DB

    ---------- Post added at 03:21 PM ---------- Previous post was at 03:20 PM ----------

    Quote Originally Posted by descalzo View Post
    Some ideas...

    1. cPanel-->MySQL Remote Hosts
    Add % to the list if it is not there

    2. cPanel-->MySQL Databases
    Try dropping the user from the database and adding it back with ALL PRIVILEGES

    3. cPanel-->MySQL Databases
    Try deleting the user and recreating with the same password and then adding to database
    I will do this

Closed Thread

Similar Threads

  1. Replies: 3
    Last Post: 02-11-2010, 02:09 PM
  2. website is not working but cpanel is working.
    By hosthost in forum Free Hosting
    Replies: 3
    Last Post: 02-11-2010, 08:55 AM
  3. Replies: 1
    Last Post: 03-15-2008, 04:54 PM
  4. Website working but Cpanel not working
    By Panther in forum Free Hosting
    Replies: 0
    Last Post: 11-29-2007, 11:29 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