help! C# mysql

  • Thread starter Thread starter MasterControl
  • Start date Start date
M

MasterControl

Hi (sorry for my english) :)


help me ...!

First, I create a project with Visual studio 2010 express and try to
connect to local MySQL through connector, without success ....


Second...
I create a new project with a single form and a button to connect to
mysql locally, through the connector for mysql.

And all is well

Everything works correctly ....

Question: -

If the PC is the same, the environment as well, the server as well, the
code also ....

why the second project run ok and connect to Mysql, and the first
project don't work?? (i try to deleting references to the connector,
re-writing the code by hand, recompiling etc ...) still does not work ?????


Thanks!!!!
bye :)
 
why the second project run ok and connect to Mysql, and the first
project don't work?? (i try to deleting references to the connector,
re-writing the code by hand, recompiling etc ...) still does not work ?????
Check MYSQL's log for error messages!
It might be that you have some rights problem accessing the database.

// Anders
 
First, I create a project with Visual studio 2010 express and try to
connect to local MySQL through connector, without success ....

Second...
I create a new project with a single form and a button to connect to
mysql locally, through the connector for mysql.

And all is well

Everything works correctly ....

Question: -

If the PC is the same, the environment as well, the server as well, the
code also ....

why the second project run ok and connect to Mysql, and the first
project don't work?? (i try to deleting references to the connector,
re-writing the code by hand, recompiling etc ...) still does not work ?????

Without any code and any error messages then it is impossible to tell.

Arne
 
Il 31/05/2011 23:16, Anders Eriksson ha scritto:
Check MYSQL's log for error messages!
It might be that you have some rights problem accessing the database.

// Anders

thx !
 
Back
Top