In my school there is no MySql, but only standard libraries. How can I connect to a remote database on a host using standard libraries?
1 answer
You cannot connect to MySQL without anything at all. At a minimum, you need to do something from this:
Connect the MySQL Connector / NET library to your project and work with its classes from MySql.Data.MySqlClient
Install the MySQL ODBC driver on all target machines and run the program with standard classes from System.Data.Odbc
- Question on what protocol does any application connect to the MySQL database?) - Sonic Myst
- @SonicMyst using MySQL protocol :) dev.mysql.com/doc/internals/en/client-server-protocol.html The software specified in the response implements it. - MSDN.WhiteKnight
- Well, strictly speaking, I don’t have anything (I’m talking about the very libraries that are used to connect and communicate with MYSQL), you can connect, but it’s very dreary, you would have to write requests with pens, so you can’t connect with the libraries yourself - Sonic Myst
|
host='%'), and pray that the firewalls allow traffic. - Akina