Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,161,025 members, 7,845,321 topics. Date: Thursday, 30 May 2024 at 03:29 PM |
Nairaland Forum / Science/Technology / Programming / Mysql Error! Help (943 Views)
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)
(1) (Reply)
Mysql Error! Help by lordsteve19: 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: 12:16am On Jun 27, 2013 |
THE ERROR IS Mysql.Data.MysqlClient cannot be accessed from this server |
(1) (Reply)
Nigerian Government To Compel Foreign Firms To Use Locally Developed Software / Lotto Game/system Developed For Window Users. / How Do I Reactivate My Windows 7
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7 |