- telnet localhost 3306
- view /etc/mysql/my.cof file and view if bind-address 127.0.0.1 is commented out or not.
- commenting out "skip-networking"
- change "wait_timeout" and "interactive_timeout"
- check Operating System proxy settings
- change connection string
dbName = "my_database";dbUserName = "root";dbPassword = "";String connectionString = "jdbc:mysql://localhost/" + dbName + "?user=" + dbUserName + "&password=" + dbPassword + "&useUnicode=true&characterEncoding=UTF-8";
No comments:
Post a Comment