I'm trying to connect in mysql, but I'm getting errors. My company has a server, where cpanel is installed. I try to use the url like hostname, but doesn't work. For example, to connect cpanel, I use 'server.genericompany.com:2083'.
I know that we use shared hosting. When I trying to see the hostname in cmd or in phpmyadmin, I get ' clone-server' value, but it's not a valid hostname. I don't have acess in
the other server now, where shared hosting pointing, but I can get it soon.

This shared server has cpanel installed too, but the db's are different. When I in that shared ip adress cpanel, I can't see db of the clone-server. The same is for clone-server.
I will list what I have tried:
- Allow my ip in allowed hosts
- I use the url, shared ip adress, local adress like hostname, but does'nt work.
- Get db credentials in cpanel, but everwhere use 'localhost' value. Its make sense, I think. When files are in server, the server is the localhost
I know that we use shared hosting. When I trying to see the hostname in cmd or in phpmyadmin, I get ' clone-server' value, but it's not a valid hostname. I don't have acess in
the other server now, where shared hosting pointing, but I can get it soon.

This shared server has cpanel installed too, but the db's are different. When I in that shared ip adress cpanel, I can't see db of the clone-server. The same is for clone-server.
I will list what I have tried:
- Allow my ip in allowed hosts
- I use the url, shared ip adress, local adress like hostname, but does'nt work.
- Get db credentials in cpanel, but everwhere use 'localhost' value. Its make sense, I think. When files are in server, the server is the localhost
Last edited by a moderator: