[MonoDevelop] monodevelop crash while trying to open a connection with mysql

Christian Hergert christian.hergert at gmail.com
Sun Jan 15 15:06:06 EST 2006


You are probably connecting to a database that the ByteFX driver
doesnt support (ie: 4+ iirc). At some point, we will get the new
Mysql.Data driver into the mix.

-- Christian

On 1/14/06, hemant kumar <gethemant at gmail.com> wrote:
>  hi guys,
>
>  I was trying to connect to local MySQL database and the Database browser
> made Monodevelop crash:
>
>  fd.Size:10240
>  fd.Size:5120
>
>  Unhandled Exception:
> ByteFX.Data.MySqlClient.MySqlException: No database
> selected
>  in <0x000a3> ByteFX.Data.MySqlClient.Driver:ReadPacket ()
>  in <0x0006b> ByteFX.Data.MySqlClient.Driver:Send (DBCmd
> cmd, System.Byte[] bytes)
>  in <0x0009e>
> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteBatch (Boolean
> stopAtResultSet)
>  in (wrapper remoting-invoke-with-check)
> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteBatch (bool)
>  in <0x0003a>
> ByteFX.Data.MySqlClient.MySqlDataReader:NextResult ()
>  in (wrapper remoting-invoke-with-check)
> ByteFX.Data.MySqlClient.MySqlDataReader:NextResult ()
>  in <0x000eb>
> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteReader
> (CommandBehavior behavior)
>  in <0x0000c>
> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteReader ()
>  in (wrapper remoting-invoke-with-check)
> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteReader ()
>  in <0x000ce> Mono.Data.Sql.MySqlDbProvider:GetTables ()
>  in <0x00034>
> MonoQuery.TablesNodeBuilder:BuildChildNodesThreadStart ()
>  in (wrapper delegate-invoke)
> System.MulticastDelegate:invoke_void ()
>  ByteFX.Data.MySqlClient.MySqlException: Access denied for
> user ''@'localhost' to database 'mysql'
>  in <0x000a3> ByteFX.Data.MySqlClient.Driver:ReadPacket ()
>  in <0x0006b> ByteFX.Data.MySqlClient.Driver:Send (DBCmd
> cmd, System.Byte[] bytes)
>  in <0x0009e>
> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteBatch (Boolean
> stopAtResultSet)
>  in (wrapper remoting-invoke-with-check)
> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteBatch (bool)
>  in <0x0003a>
> ByteFX.Data.MySqlClient.MySqlDataReader:NextResult ()
>  in (wrapper remoting-invoke-with-check)
> ByteFX.Data.MySqlClient.MySqlDataReader:NextResult ()
>  in <0x000eb>
> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteReader
> (CommandBehavior behavior)
>  in <0x0000c>
> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteReader ()
>  in (wrapper remoting-invoke-with-check)
> ByteFX.Data.MySqlClient.MySqlCommand:ExecuteReader ()
>  in <0x000c0> Mono.Data.Sql.MySqlDbProvider:GetUsers ()
>  in <0x00024> MonoQuery.UsersNodeBuilder:BuildChildNodes
> (ITreeBuilder builder, MonoQuery.UsersNode node)
>  in <0x0002d> MonoQuery.UsersNodeBuilder:BuildChildNodes
> (ITreeBuilder builder, System.Object dataObject)
>  in <0x00075>
> MonoDevelop.Ide.Gui.Pads.TreeViewPad+TreeBuilder:CreateChildren
> (MonoDevelop.Ide.Gui.Pads.NodeBuilder[] chain,
> System.Object dataObject)
>  in <0x00141>
> MonoDevelop.Ide.Gui.Pads.TreeViewPad+TreeBuilder:FillNode
> ()
>  in <0x00075>
> MonoDevelop.Ide.Gui.Pads.TreeViewPad+TreeBuilder:CreateChildren
> (MonoDevelop.Ide.Gui.Pads.NodeBuilder[] chain,
> System.Object dataObject)
>  in <0x00141>
> MonoDevelop.Ide.Gui.Pads.TreeViewPad+TreeBuilder:FillNode
> ()
>  in <0x000ee>
> MonoDevelop.Ide.Gui.Pads.TreeViewPad:OnTestExpandRow
> (System.Object sender, Gtk.TestExpandRowArgs args)
>  in (wrapper delegate-invoke)
> System.MulticastDelegate:invoke_void_object_TestExpandRowArgs
> (object,Gtk.TestExpandRowArgs)
>  in <0x001ba> Gtk.TreeView:TestExpandRowSignalCallback
> (IntPtr arg0, Gtk.TreeIter arg1, IntPtr arg2, IntPtr gch)
>  in (wrapper native-to-managed)
> Gtk.TreeView:TestExpandRowSignalCallback
> (intptr,Gtk.TreeIter&,intptr,intptr)
>  in <0x00000> <unknown method>
>  in (wrapper managed-to-native) Gtk.Application:gtk_main ()
>  in <0x00007> Gtk.Application:Run ()
>  in <0x00007> MonoDevelop.Ide.Gui.IdeApp:Run ()
>  in <0x009fd> MonoDevelop.Ide.Gui.IdeStartup:Run
> (System.String[] args)
>  in <0x00169>
> MonoDevelop.Core.AddIns.AddInService:StartApplication
> (System.String addinId, System.String[] parameters)
>
>  Any idea?
>
>  with regards
>  hemant
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>


--
Christian Hergert
Medsphere Systems Corporation
Software Programmer
C: 253 906 2115


More information about the Monodevelop-list mailing list