help! C# mysql

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 :)
 
A

Anders Eriksson

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
 
A

Arne Vajhøj

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
 
M

MasterControl

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 !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top