www.webdeveloper.com
Results 1 to 3 of 3

Thread: Database Table Overwrite

  1. #1
    Join Date
    Sep 2006
    Posts
    7

    Question Database Table Overwrite

    Hello,
    About a week ago, I created a new DB (e...) and put it on the server and edited. ALL FINE THERE

    However for some reason certain tables in another DB (f...), scripts in separate folder but with the same table names were over written with the information from DB e.. even though DB f.. has not been edited in months, the databases have different admin usernames and passwords, etc. However there are other DB's on the account, in separate folders, with the same table names that have remained untouched.

    The scripts are located in different folders under different domains. Below are the two files which regulate access to the DB of each site. The folders are password protected so hacking is also impossible. The only way to alter the DB is to access it through the /admin as the sites themselves are not accessible.

    Is this my problem or a problem with the account host. They are telling me that the it is my problem and asking me to pay $15 for a backup restoration. I don't see how that is possible. BTW the scripts are not mine but CubeCart's.

    I would appreciate any help and/or suggestions as to why this might have happened.

    MySQL 4.1.22-standard
    =============================
    PHP Code:
    $glob['dbdatabase'] = 'account_f..';
    $glob['dbhost'] = 'localhost';
    $glob['dbpassword'] = '************';
    $glob['dbprefix'] = '';
    $glob['dbusername'] = 'account_username1';
    $glob['installed'] = '41';
    $glob['rootDir'] = '/home/account/public_html/folderone/foldertwo';
    $glob['rootRel'] = '/folderone/foldertwo/';
    $glob['storeURL'] = 'http://domain1.com/folderone/foldertwo'

    PHP Code:
    $glob['dbdatabase'] = 'account_e..';
    $glob['dbhost'] = 'localhost';
    $glob['dbpassword'] = '************';
    $glob['dbprefix'] = '';
    $glob['dbusername'] = 'account_username2';
    $glob['installed'] = '33';
    $glob['rootDir'] = '/home/account/public_html/folderone1/foldertwo2 /folderthree3/';
    $glob['rootRel'] = '/foldertwo2 /folderthree3/';
    $glob['storeURL'] = 'http://www.domain2.com/folderone1/foldertwo2 /folderthree3/'

  2. #2
    Join Date
    Aug 2005
    Location
    The Garden State
    Posts
    5,634
    it depends on how they're written. if you have the same table names in multiple schemas, and it's connecting to the wrong schema i could see how it's viable. you might want to contact cubecart though, they'll know more about their internals

  3. #3
    Join Date
    Sep 2006
    Posts
    7
    Thank you, I'll contact CubeCart.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles