Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- using MySql.Data.MySqlClient;
- using MySql.Data.Types;
- using UnityEngine.UI;
- public class BramaGarazowaConnect : MonoBehaviour {
- #region Zmienne
- MySqlConnection pol = new MySqlConnection ("server=188.128.169.227; user=14780615_0000004; password=hmeoI&;IPpFo; database=14780615_0000004");
- MySqlCommand kom;
- MySqlDataReader czytaj;
- string polecenie = "";
- #endregion
- #region Metody
- public void testujemy(){
- pol.Open ();
- Debug.Log ("Stan polaczenia: " + pol.State);
- pol.Close ();
- }
- #endregion
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement