Hello again,
I have test Setup Remote MySQL server and i have some questions:
First i define two terms so i don't freak you out:
MRS = Mysql Remote Server that is running on a remote server
MCS = Mysql Cpanel Server that is running on localhost
1. At this moment 16 Feb 2012, can i use debian as a host for MRS?
I have tried and my wizard went ok no errors and i could make new databases/delete also users etc.
In the wizard script are there some red hat based commands like yum? or rpm? i really want to understand why can't i use debian as a host for MRS so i can take a accurate decision.
2. After i setup MRS, the MCS should automatically shutdown or he will run in background for databases used by system (like mailscanner etc) ?
In my tests is still running and it is used by mailscanner and other programs. ALSO old sites still use databases from MCS even if i have a MRS setup and working. These old db used by websites dont appear in cpanel but are working. In other wards every new db it appears in CPanel after setup MRS, but dbs from MCS created before setup MRS still working in background but they don't appear in CPanel accounts.
I know i need to migrate them manually but i was expecting not to work anymore after MRS setup.
3. After all its ok but only one problem bother me:
On MRS i already have 150 Databases and after ai set cpanel to use that server as MRS, i went to use:
Database Map Tool
I can import users already defined on MRS, and i can see those in cpanel accounts at mysql tab.
But i cannot add databases from MRS (i always get the message: database_name cannot find in Database)
It's like the script from Database Map Tool is searching on localhost not in MRS i guess but he can find users from MRS so it's not that...
I have disabled prefix mysql
I am able to connect from MCS command line with user and password to MRS and use remote db.
I made a db from cpanel and made a user with privileges for that db.
On MRS i add manually a new DB and add privileges for user to this new db (made from whm/phpmyadmin)
Still "not found in Databse" at Database Map Tool.
What should i do i have test this issue and retest for couple of hours.
In other words what i am trying to do is this:
Before cpanel i have 2 server:
Server1: Apache php ftp
Server2: Mysql
Many websites have databases and those are stored in Server2.
Now i have CPanel and i want to destroy Server1 and use CPanel.
I want to keep Server2 like it is so i have set "Setup Remote MySQL server"
Now i need to map those existent DBs from Server2 to websites account in Server1.
I could do that with "Database Map Tool" But it doesn't work.
Please help me i am exhausted i work for last 2 days at this problem my brain is on fire.
I have test Setup Remote MySQL server and i have some questions:
First i define two terms so i don't freak you out:
MRS = Mysql Remote Server that is running on a remote server
MCS = Mysql Cpanel Server that is running on localhost
1. At this moment 16 Feb 2012, can i use debian as a host for MRS?
I have tried and my wizard went ok no errors and i could make new databases/delete also users etc.
In the wizard script are there some red hat based commands like yum? or rpm? i really want to understand why can't i use debian as a host for MRS so i can take a accurate decision.
2. After i setup MRS, the MCS should automatically shutdown or he will run in background for databases used by system (like mailscanner etc) ?
In my tests is still running and it is used by mailscanner and other programs. ALSO old sites still use databases from MCS even if i have a MRS setup and working. These old db used by websites dont appear in cpanel but are working. In other wards every new db it appears in CPanel after setup MRS, but dbs from MCS created before setup MRS still working in background but they don't appear in CPanel accounts.
I know i need to migrate them manually but i was expecting not to work anymore after MRS setup.
3. After all its ok but only one problem bother me:
On MRS i already have 150 Databases and after ai set cpanel to use that server as MRS, i went to use:
Database Map Tool
I can import users already defined on MRS, and i can see those in cpanel accounts at mysql tab.
But i cannot add databases from MRS (i always get the message: database_name cannot find in Database)
It's like the script from Database Map Tool is searching on localhost not in MRS i guess but he can find users from MRS so it's not that...
I have disabled prefix mysql
I am able to connect from MCS command line with user and password to MRS and use remote db.
I made a db from cpanel and made a user with privileges for that db.
On MRS i add manually a new DB and add privileges for user to this new db (made from whm/phpmyadmin)
Still "not found in Databse" at Database Map Tool.
What should i do i have test this issue and retest for couple of hours.
In other words what i am trying to do is this:
Before cpanel i have 2 server:
Server1: Apache php ftp
Server2: Mysql
Many websites have databases and those are stored in Server2.
Now i have CPanel and i want to destroy Server1 and use CPanel.
I want to keep Server2 like it is so i have set "Setup Remote MySQL server"
Now i need to map those existent DBs from Server2 to websites account in Server1.
I could do that with "Database Map Tool" But it doesn't work.
Please help me i am exhausted i work for last 2 days at this problem my brain is on fire.