Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-18-2006, 09:24 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
File system points to MySQL db's in wrong cPanel


I just moved from a shared hosting solution to a dedicated machine. After an attempt at Virtualmin Pro, I realized I wasn't up to it and asked my host to set up two cpanels for me, cPanel A handles some shared domains, cPanel B is for one single domain which I have vbulletin running on.

Previously all the domains were under a single cPanel, so to extricate my big site and give it its own cPanel (cPanel B), they created a copy of the MySql vB database and imported it.

So, I believe I have two mySql servers running on the same machine. Things were working correctly at first. The config file containing the MySql user/password for vBulletin pointed had the correct info for the vB db in cPanel B and all was well. They gave me an initial password that needed to be changed so I deleted the user associated with the vB database on cPanel B, then deleted the user.

Then I created a new user in MySql on cPanel B and gave All access to the vB db. Unfortunatly, I then went to update the config.php file, and began getting error 0, can't connect to database.

After some troubleshooting I figured out that somehow config.php can now only see the MySql databases on cPanel A. I know that it is only seeing the old database because I changed the user and pass variables in the config.php to those still attached to the old db on cPanel A and it works.

I'm not sure what happened. How can I make it so that the config.php see's the correct mySql database?

This is my first time managing a linux server and I really tried to go the virtualmin route before defaulting to cp. :| Any help is appreciated.



cpanel, mysql

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy mysql db's from hardisk to new server? nbier Linux - Software 4 09-01-2004 03:24 PM
cPanel & mySQL directories Alan Powell Linux - Newbie 1 04-26-2004 06:31 AM
Backing up large MySQL DB's WeNdeL Linux - Software 5 11-29-2003 09:34 AM
Mount Points In File System pankajtakawale Linux - Newbie 2 10-08-2003 10:27 AM
Lost all my MySQL DB's, help amp2000 Linux - General 7 04-17-2003 01:25 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration