Mysql Error! Help - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Mysql Error! Help (1067 Views)
1 Reply
| Mysql Error! Help by lordsteve19(op): 2:32pm On Jun 25, 2013 |
Hello fellow programmers. I am trying to connect to a project i created in vb.net using mysql as backend from another PC via a LAN. And when ever it load it brings up an error... this is my code for the connection string Imports MySql.Data.MySqlClient Public Class Form1 Dim conn As MySqlConnection Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click conn = New MySqlConnection("server=localhost; Port=3306; user id=root; password=; database=customer_data" ![]() Try If conn.State = ConnectionState.Closed Then conn.Open() MessageBox.Show("Connection is now open", "INFORMATION", MessageBoxButtons.OK, MessageBoxIcon.Information) Else conn.Close() End If Catch ex As Exception MessageBox.Show(ex.Message.ToString) End Try End Sub End Class |
| Re: Mysql Error! Help by Nobody: 4:17pm On Jun 26, 2013 |
post error too. |
| Re: Mysql Error! Help by lordsteve19(op): 12:16am On Jun 27, 2013 |
THE ERROR IS Mysql.Data.MysqlClient cannot be accessed from this server |
How Do I Fix "Player.exe Has Stopped Working" Error Message. • Java Error: Help Please! • Porting PHP/MYSQL Applications to Micro-Controller Based Devices • 2 • 3 • 4
Php Or Html • Applying For Patent In Nigeria • Is This True? (pics)
