Diky problem byl jeste v portu pripojeni. Nyni jsem se dostal o krok dale ale vypisuje to tentokrate chybu
Connection unexpectedly terminated
Uzivatelsky login je vporadku, prava nastaveny i pro externi pristup, firewall vypnuty. Vse co sem na netu k teto problematice vyhledal. Kompletní výpis chyby:
MySql.Data.MySqlClient.MySqlException was unhandled
Message=Connection unexpectedly terminated
Number=0
Source=MySql.Data
StackTrace:
v MySql.Data.MySqlClient.PacketReader.ReadHeader()
v MySql.Data.MySqlClient.PacketReader.OpenPacket()
v MySql.Data.MySqlClient.NativeDriver.Open()
v MySql.Data.MySqlClient.Driver.Create(MySqlConnectionString settings)
v MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
v MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
v MySql.Data.MySqlClient.MySqlPool.GetConnection()
v MySql.Data.MySqlClient.MySqlConnection.Open()
v KČT_Archiv.Procedury.test() v D:\Dokumenty\Aleš\Programovani\KČT Archiv\KČT Archiv\Procedury.vb:řádek 19
v KČT_Archiv.Form1.Button1_Click(Object sender, EventArgs e) v D:\Dokumenty\Aleš\Programovani\KČT Archiv\KČT Archiv\01_Main.vb:řádek 4
v System.Windows.Forms.Control.OnClick(EventArgs e)
v System.Windows.Forms.Button.OnClick(EventArgs e)
v System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
v System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
v System.Windows.Forms.Control.WndProc(Message& m)
v System.Windows.Forms.ButtonBase.WndProc(Message& m)
v System.Windows.Forms.Button.WndProc(Message& m)
v System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
v System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
v System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
v System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
v System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
v System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
v System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
v System.Windows.Forms.Application.Run(ApplicationContext context)
v Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
v Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
v Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
v KČT_Archiv.My.MyApplication.Main(String[] Args) v 17d14f5c-a337-4978-8281-53493378c1071.vb:řádek 81
v System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
v System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
v Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
v System.Threading.ThreadHelper.ThreadStart_Context(Object state)
v System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
v System.Threading.ThreadHelper.ThreadStart()
InnerException:
|