I am accessing a MySql database on my computer using VB.NET and it works perfectly. However, when I upload it to our server it gives an error "Unknown Database MyDB". I also have a LOT of other pages in the root directory of the server and they use other MySQL db's. They work.

The VB.NET page is not on in the root folder on the server whereas the working pages are.

The DB name is stored in a MySQL db in an index table (company name vs. DB name) in indexDB.indextable and it finds that.

I have created MyDB on the server using a VB.NET page which executes the SQL code. I am currently thinking about nice, quiet mental hospitals. :D

Related posts

Recent Viewed