Showing posts with label Communication Link Failour. Show all posts
Showing posts with label Communication Link Failour. Show all posts

Wednesday, August 22, 2012

Communication Link Failour


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