简体   繁体   中英

Jelastic- Host '' is not allowed to connect to MySQL server

I have created a new environment in Jelastic using Glassfish 3.1 and MySQL 5.5.32. I am trying to make connection to MySQL server from a local client computer using ./mysql -u root -p*** -h https://mysql-env-XXXXXXX.jelastic.servint.net however I receive the following error: ERROR 1130 (HY000): Host '120.150.xxx.xxx' is not allowed to connect to this MySQL server. I tried different username and password with different privileges.

You are trying to set remote connection to MySQL server. For this you should have Public IP enabled for your database. Please, consider the following documentation article: Remote Access to MySQL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM