I have my database on a dedicated server where in the config i usually just put localhost for the hostname, now the website is on on a shared hosting plan and i need to connect it to that database thats on my dedicated server. What do i put in the hostname now?
First You Have To Allow The Other Server To Connect i think it can be done via cpanel than change the localhost and put the address of the mysql server there instead
You have to check: 1. /etc/my.cnf (skip-networking) 2. Firewall (port 3306) 3. Privilages on MySQL (can be different from localhost and others)
I am still confused. I am in cpanel...where do i go now...can someone give me step by step instructions on how to do this...thanks.