JAVA mysql connect

Avatar
  • updated
  • Answered

¡Hola!, 

Conexión miConexion = DriverManager.getConnection ("jdbc: mysql: //www.weather100.com/weathe27_citylist", "weathe27_adnw100", "xxxxxx");

no me puedo conectar por Java a la base de datos,

por php si me puedo conectar pero por java no,

creo que es por los permisos del usuario..

¿Pueden darme permisos?
gracias

Hello!,

MyConexion connection = DriverManager.getConnection ("jdbc: mysql: //www.weather100.com/weathe27_citylist", "weathe27_adnw100", "xxxxxx");


I cannot connect via Java to the database,

php if I can connect but not java,

I think it's because of the user's permissions ..

Can you give me permission?
Thank you

Duplicates 1
JAVA mysql connect

Hello,

Connection miConexion=DriverManager.getConnection("jdbc:mysql://www.weather100.com/weathe27_citylist", "weathe27_adnw100", "xxxxxxx");

I cant connect to my database mysql with Java,

I can connect with php but not but not java,

I think it is because of the user's permissions.

Can you give me permissions?

Thank you

Avatar
IMH Support Agent 2
  • Answered

Hello Andoni,

Apologies for the problem with connecting to the database.  Generally, the database connection is managed through the cPanel of the account you're connecting to. You can set up remote connections through the Database section.  If you continue to have problems with the connection you will need to contact either the administrator of the account, or, if you are the administrator, then contact our live technical support team.  We cannot make changes to your server from the Support Center website.

If you have any further questions or comments, please let us know.

Kindest Regards,

Arnel C.