ASP.NET problems (using VB)

2003-02-02
2003-04-02
  • Adrian Aitken

    Adrian Aitken - 2003-02-02

    Hi, using the following I always get 'MySQLDriverCS Exception: MySQLDriverCS Error: can't connect.' even though the details *are* correct. What gives ?

            Dim mySQLConn As MySQLConnection = New MySQLConnection( new MySQLConnectionString("localhost","mysql","root","xxx",3306).ToString())
        try

                mySQLConn.Open()

        catch ex as exception

            lblConnectionStatus.text  = "Error connecting to host: " & ex.message
            exit sub

        end try

    I'm using the Jan 2003 version of the DLL

     
    • Anonymous - 2003-04-02

      Got it to work by changing ToString --> AsString

      I stole that from the JS example page as I'm trying this .NET thing for the first time.

      Good Luck

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks