How to connect to a remote MySQL database with Java?

后端 未结 8 1441
暗喜
暗喜 2020-12-02 11:16

I am trying to create a JSF application using the Eclipse IDE. I am using a remote mySQL server as my database. How do I connect to this remote database for creating tables

8条回答
  •  伪装坚强ぢ
    2020-12-02 11:55

    in my.cnf file , please change the following

    ## Instead of skip-networking the default is now to listen only on ## localhost which is more compatible and is not less secure. ## bind-address = 127.0.0.1

提交回复
热议问题