RE: Mysql connection Error
"Al McNicoll" <[email protected]> Tue, 21 Dec 2010 09:33:33 -0000
| Newsgroups | gmane.comp.db.mysql.odbc |
|---|---|
| Organization | Integritec (UK) Limited |
| Message-ID | <[email protected]> |
Hi Mubarak, It looks to me as though you're trying to connect to a MySQL server on port 8443 (that's the bit after the colon in https://174.133.216.21:8443/). To my knowledge, the most common use of port 8443 is for Plesk or Parallels administration. MySQL runs by default on port 3306. Try either removing the :8443 or else replacing it with :3306. Also, you said that you'd include your connection string. I can't see it anywhere. By the way, try having a look at http://www.connectionstrings.com/mysql for general help on MySQL connection strings. Kind regards, Al McNicoll Integritec (UK) Limited -----Original Message----- From: mubarak shaikh [mailto:[email protected]] Sent: 21 December 2010 06:49 To: [email protected] Subject: Mysql connection Error *I have Using MySQL PHP Admin Client 5.2*following is my Connection String(Using Visual Studio 2005) Server Error in '/' Application. ------------------------------ *ERROR [HY000] [MySQL][ODBC 3.51 Driver]Unknown MySQL server host ' https://174.133.216.21:8443/' (11004) ERROR [HY000] [MySQL][ODBC 3.51 Driver]Unknown MySQL server host ' https://174.133.216.21:8443/' (11004)**Description: *An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. *Exception Details: *System.Data.Odbc.OdbcException: ERROR [HY000] [MySQL][ODBC 3.51 Driver]Unknown MySQL server host ' https://174.133.216.21:8443/' (11004) ERROR [HY000] [MySQL][ODBC 3.51 Driver]Unknown MySQL server host ' https://174.133.216.21:8443/' (11004) *Source Error:* Line 23: protected void Button1_Click(object sender, EventArgs e) Line 24: { Line 25: mySqlConnection.Open(); Line 26: String Date = System.DateTime.Today.ToShortDateString(); Line 27: OdbcCommand anb = new OdbcCommand(); Please Give me Reply -- MySQL ODBC Mailing List For list archives: http://lists.mysql.com/myodbc To unsubscribe: http://lists.mysql.com/[email protected]