₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,326,628 members, 8,427,346 topics. Date: Monday, 15 June 2026 at 06:58 PM

Toggle theme

Mysql Error! Help - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingMysql 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"wink
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
1 Reply

How Do I Fix "Player.exe Has Stopped Working" Error Message.Java Error: Help Please!Porting PHP/MYSQL Applications to Micro-Controller Based Devices234

Php Or HtmlApplying For Patent In NigeriaIs This True? (pics)