I am facing an issue with connecting my J2EE application with the MySQL on CPanel.
I tried to connect the MySQL database with SQLYog also, but i am facing the issue Error: 2003 (Can't Connect to MySQL server on ....my IP or domain (10060))
I did the things that should be done like
- Add the User to the mySQL database on CPanel
- Add the % wildcard to the Remote MySQL Access Hosts
- I verified the username and password too
I am using the following parameters in my J2EE application while connecting...
- Host name is Shared IP as given in the Shared IP Address on the CPanel Home page( I am not sure if this is
correct, else I dont know how to get the Host name from CPanel)
- Database name is Cpaneusername_mydatabasename
- Database password is my custom password
- Database Url is jdbc\:mysql\://<MyDomain or Host name>\:3306/<MyDatabaseName on Cpanel>
I don't know how to proceed further on this.
Thanks,
Apar
I tried to connect the MySQL database with SQLYog also, but i am facing the issue Error: 2003 (Can't Connect to MySQL server on ....my IP or domain (10060))
I did the things that should be done like
- Add the User to the mySQL database on CPanel
- Add the % wildcard to the Remote MySQL Access Hosts
- I verified the username and password too
I am using the following parameters in my J2EE application while connecting...
- Host name is Shared IP as given in the Shared IP Address on the CPanel Home page( I am not sure if this is
correct, else I dont know how to get the Host name from CPanel)
- Database name is Cpaneusername_mydatabasename
- Database password is my custom password
- Database Url is jdbc\:mysql\://<MyDomain or Host name>\:3306/<MyDatabaseName on Cpanel>
I don't know how to proceed further on this.
Thanks,
Apar