.net - Cannot Connect To MySQL Server Over Different Domains?
Oct 4, 2011
I'm having a problem connecting to a MySQL server over two different trusted domains.We're developing an app for internal use and have been using MySQL till now. It's a desktop app written in vb.net.Up until now all the users were on the same domain and there were no issues. Just recently there was an higher-level decision to split users in 2 different domains for various reasons.The problem is that users from the new domain cannot access the server. If that helps, I was told by the administrators that the users from both domains are trusted. Both machines are running Windows Server - 2003 and 2008.The server port is open, the grants are all in there(base_class@%) but upon attempt access denied for user base_class@datablock2.
View 3 Replies
ADVERTISEMENT
Jun 21, 2012
What i have going on, is i have a MySQL connector as a resource on my application, and im basically trying to connect to my MySQL server, to either a) register a new account, or b) check that the account exists and they are premium, and login, Now what i have run into problems with is: My MySQL Database Name has a _ in it which VB is not allowing for some strange reason.
The code i am using is below
Imports MySql.Data.MySqlClient
Public Class Form1
Function UpdateRecord(ByVal query As String) As Integer
[CODE]...
How i can allow the _ into the application, because the only databases that don't have a _ in the user or dbname are a) Paid ones which i DO NOT have the money for or self hosted ones, i cannot leave my computer on 24/7
View 3 Replies
Jun 4, 2010
I'm connecting to my mysql server using ODBC in vb.net, the database is shared throughout the company because it is used in an accounting program (simply accounting), each user has their own account user/pass to login to the database. I have developped a program that uses the accounting database and combines it with other information, my problem is that at least once a day I get this error when I run my program: "(10061) ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on"and the error persists for at least 4 hours, for some reason it starts to work again later on in the day.
View 1 Replies
May 16, 2010
I want to use datasources or something to connect VB to mysql db and execute a querry with the information filled in and standard information.
i know how web scripts work with mysql but in VB i cant find any tuts anywhere about mysql and vb
View 6 Replies
May 4, 2010
I have a database in MySQL server called MD
View 2 Replies
Apr 9, 2010
I have created a server-client application in Vb.net with back end Mysql .In client while am trying to run its showing the following message
"Unable to connect to the specified MYSql hosts"
View 4 Replies
Dec 4, 2009
i want to connect to mysql located on my website's server in visual basic.
View 1 Replies
May 4, 2010
I have a database in MySQL server called MD
Server: Local host
User: root
Pass: wccmd12
port 3306
How do I connect to this database in vb.net?
View 2 Replies
Sep 9, 2010
from vb.net code i try to remotely connect to mysql server :
Dim conn As New MySqlConnection
Dim comand As New MySqlCommand
Dim myconnstring As String = "server=192.168.1.100" _
[Code]....
I get Timeout I/O operation. With mysql front i can connect without problem.I closed windows firewall.
View 1 Replies
Jan 2, 2011
Uneable to connect to BBDD MySql in Virtual Server with Parallels Plesk Panel.
Does any one know how to connect to a Parallels Plesk Panel Server (my host is 1&1)?
View 4 Replies
Nov 6, 2011
I have a client that wants to connect to his MySQL database using Dial-up/Modem connection. All i know is a phone number. I will be using VB.NET 2005 for this project. We also have a LAN Connection setup to other computer, but some of this computer only uses Dial-up to connect. The LAN connection works fine because i can just use the Local IP to create a connection string.But my problem is how do i get to connect to a remote server using a Dial-up? I know building a connection string require an IP to connect. Do i need to get the IP after a dial-up connection is connected or to i need to use different approach? I have a server and i have 10+ clients, the server has a T1 connection + a dial-up modem installed also.I created a POS system to all the clients, Some clients uses dial-up some uses LAN. What the server do is all the records of the clients POS will be sync to one database on the server in one table. If i'm in the server and and i selected a station/client and click SYNC button all the records on that client will be sync to the server.
View 2 Replies
Jul 7, 2009
I have a programmer who is using VB and LINQ; and I have a MySQL database that is running on a linux server. My programmer tells me that:he cannot connect to the MySQL database via LINQ if he was able to connect then it would require all sorts of rewriting I don't know anything about LINQ but I thought it was an ORM. As such, any DB server that is supported should work just fine? Right? OK, so maybe it's not an ORM... maybe it should generically connect to ODBC and render similar results?
View 1 Replies
May 3, 2010
I am trying to make a login system mysql try to connect to a mysql database.
Here is my code:
Imports MySql.Data.MySqlClient
Public Class LoginForm1
Dim MySqlConnection As MySqlConnection
Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click
MySqlConnection = New MySqlConnection()
[code]....
View 6 Replies
Sep 30, 2011
We have a VB.Net application which works fine in our tests in different Windows XP SP3 machines. However there is one machine in which is displaying this error:
Unable to connect to any of the specified MySQL hosts
Using the mysql command, we can successfully connect to the database. We already checked for any other application or firewall that could be blocking the connection but it seems fine. We also reinstalled the system (no errors during the installation) but the MySQL error message doesn't change.
The system settings are exactly the same as in the other computers. We are using "localhost" as server in the connection string. The "hosts" file has its default values (nothing strange in there).
View 1 Replies
Nov 16, 2009
Im building an app to manage PSP contents, and it should connect to my MySQL server on my domain to refresh game info and ratings and so on, but I cant make it connect with MySQL Connector 6.1.
[Code]...
View 2 Replies
Jan 30, 2011
I can have mysql database. but i have not mysql. how to connect this database vb.net 2005. but i have mysql-connector-net . I want to mysql-connector-net use to connect this database. database path(C:Documents and SettingsAdminMy DocumentsVB.NETStock delnaSTC.sql)
View 3 Replies
May 29, 2012
I am trying to connect to my remote MySql Database within Visual Studio using the compact framework.
I can successfully add a data source and preview the data within the IDE so assume that the connection is ok regarding Connection strings and remote access.
However, when I attempt to access the data using any run time control I get the following error when the table is loaded using the .fill method.
MySql.Data.MySqlClient.MySqlException was unhandled
ErrorCode=-2147467259
Message="Unable to connect to any of the specified MySQL hosts."
[Code]....
View 9 Replies
Jul 9, 2009
do u need to download something for VB2005 to connect to a mySQL db?cant connect to mysql db?
View 2 Replies
Aug 11, 2011
I am trying to connect to a MYSQL database using VB.NET to handle some simple tasks at a page level. Usually the connections are made to a MYSQL database. I have downloaded a MYSQL-CONNECTOR 6.0.7. How do I reference or add this to my web project so that I can create the connection and use the provided methods?In the unzipped package I download I do not see any dll files so not sure what to do with this ATM, I am used to seeing a bin folder which contains this.
View 2 Replies
Jun 2, 2011
I'm just looking for an answer or idea.I plan to connect vb.net to mysql (which is done) and also the PHP connected to the mysql.But I'm confuse with something.VB.NET is use for offline things (which people will come to store and buy), but PHP is buying / booking online. (You know the airport things right ? customer can directly go to the airport and buy tickets or they can buy tickets from the internet)
For ex :Customer A come to airport and buy a ticket which is only left 1 tickets. Customer B wanted to buy from the internet. Both of them saw there is only left 1 tickets. So, both of them buying. When Customer A buy, the employee click buy at the same time with Customer B.In here, I'm confuse, how to declare which person should get the ticket because they click buy at the same time (server time because PHP and MySQL located to the server and vb.net applciation located to other PC/Machine) ?.
View 1 Replies
Dec 23, 2011
I have a VB.Net application that must connect to online MySql database.I already have a MySql database and I connected to it from VB.net using the MySql connector (new instance and direct connect).All I want to do is to connect to this database via a PHP web service, this will make a fast connection and more users can be connected at the same time.I tried to search for this, and I think that the solution is easy and simple, but I don't know a lot about PHP; how to upload files and connect via Web service Reference in VB.net.I downloaded these files: RemoteMySQLDatasetWS.zip And RemoteMySQLTest.zip. from: http:code.google.c.../downloads/list. which contains ".php" / ".wsdl" / ".dll" files and a VB.Net test solution.I uploaded the files (".php" / ".wsdl" / ".dll") to the FTP manager in the cPanel where I created the database. The problem is, First: I don't know if these files are working.Second: if they are working, I don't know how to accesss these file via HTTP, so I can add the "server.php" address as a web service reference in VB.Net.
View 2 Replies
Dec 28, 2011
VB.NET Express 2010.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[Code].....
View 1 Replies
Jan 11, 2011
Just got a mySql database up and running (about 3 weeks ago) and it's working fine for web pages with PHP, but wanted to see if I could access it from Visual Basic (why not right). So I downloaded whats needed to get the MySqlConnection working and Been looking around online and nothing is very intuitive as to what the problem is. The error message is:
MySql.Data.MySqlClient.MySqlException: Host '192.168.2.184' is not allowed to connect to this MySQL server
View 2 Replies
Jun 5, 2011
How to connect mysql to visual basic 2008?
View 2 Replies
Apr 28, 2011
How do i connect MySQL to VB2010. eg Provider=???
View 2 Replies
Feb 20, 2010
I try to connect my programe with MySql on my computer but it could not execute. The error like attached image file.[code]...
View 6 Replies
Jan 2, 2008
need to connect to a MySQL 5 DB from VB.NET [2008] 3.5 Framework from code.Help ..need the connection code
View 11 Replies
Aug 23, 2011
How to connect using MySQL connection?
View 1 Replies
Jun 13, 2010
im a beginner in visual basic.
View 4 Replies
Mar 11, 2010
i installed visual studio ( full installation)then i got xampp from their site i have mysql and apache running i downloaded the connector from mysql site and i created a simple project to check if i can connect to mysql or not i have made this code so far
Imports System.Data.SqlClient
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Connection As String = "Data source=localhost;user=root;password=;Initial Catalog=test;Integrated Security=true;"
[code]....
im having trouble with an exception though it says {"A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"}
how can i get rid of this, is it because i installed mysql 2005 with visual studio 2008? and maybe it runs with xampp's mysql and creates these problems?
View 2 Replies