VB.net Project using MySQL user locally - mysql

Need Help.
I made a vb.net project, it is already finished. but my problem is, after i install the project i made to another computer. it can't connect to the database unless the WAMP server is open. is there a way to user without opening WAMP server?

WAMP stands for Windows Apache MySQL PHP. It runs MySQL server, so you need it to access database. Option is that user on another computer runs some MySQL server or connects to web server that runs database required for application.
You could also consider using Microsoft Access database. In this case you don't need server. All database is just in one MS Access file.

Related

Process of creating database on your own server

I bought "Hetzer" server so I can create my own database and practice a little bit. My server is using Ubuntu. I plan to also create a script (probably in node or asp) so my android application can communicate with database.
How to start with creating database, what to do?
Firstly https://www.hetzner.com/ is one of the best professional web hosting providers. In order to set up your Mysql server to your ubuntu machine. Install lamp stack. There are many tutorials about installing lamp. Then open your DB for remote connection or do kind of restful service to access your data in DB.

Grails - Open MySQL and Apache Server from Project without Xampp\Wamp

I am building a Grails Project that uses MySQL for manipulating database entries and execute CRUD examples.
For the MySQL server to be active, I use XAMPP Control Panel and I must have Apache and MySQL opened in the XAMPP Control Panel in order to establish a connection between Grails and my MySQL Database.
The Grails Project starts Tomcat server itself everytime I run my project, and I dont know how I can achieve that with Apache and MySQL, so that I wont have to use the XAMPP Panel every time. When the WAR is created, I should be able to create the connection from within the project, without the need of a Server Panel like Xampp or Wamp.
I would like to find a way to start Apache and MySQL server from inside the Grails Project. Any ideas?

Connecting to a database in Visual Studio

I'm afraid I have been stuck on this one for a couple days now.
I've worked with databases before (normally using php and a mysql server) but I'm new to visual studio and I just can't seem to find much info on what kind of server you need to connect to (and how).
I guess the first part of my question would be: Can the server running the database be a remotely hosted "online" mysql server or does it have to be installed on your machine (for example like you can install apache)?
The easiest option for me would probably be to connect to my existing mysql server of my online website, but how?
I have sql server management studio installed but am not sure what to enter as the server name etc in the dialog box that shows up.
I do know my mysql server details and all, but just have no idea how where and how or even if I can connect it directly to my visual studio project.
I have looked several times on google but till now I have only been able to find videos and tutorials showing how to create a new database - which assume you are already connected to some sort of server.
Also, if you do use a locally hosted database server then wouldn't you have to port it to a different (online) database once the website goes live?
Thank you for your time!
Yes, the database can be remotely hosted, I'have this working on my local machine with a remote MsSql database. Make sure the remote database server accepts connections from your IP.
I'm pretty sure the MsSql Server Management Studio is only for MsSql, not MySql. The server name in my case is the IP for the remote MsSql database server, further you need the login and password for your database. But if you use your remote MySql, you don't need this tool.
I have no experience with MySql, but it must be possible to use the database in your Visual Studio project with the correct "connectionstring". The connectionstring contains the type of the database, where it is located, login and pasword, etc. You can find the syntax of you connectionstring here: www.connectionstrings.com/mysql/

Windows App with mySQL Backend

I am trying to design a database application for my small business. I've created a number of form driven MS Access databases for use before but would like to create a permanent solution in something more advanced & common.
I was thinking of using mySQL for the database and would then program a C# or VB application to be used in Windows. I do not want or need a web based version at this time but the migration to VB.net in the far future may be something I'll look into.
I know I can use a MS Access backend for my windows application without having to install MS Office on any or all the computers the program will be run for.
But here is my question. Is it necessary to install mySQL Server on the PC hosting the database, on all the PCs accessing the database or can I just use the database file as the backend and Visual Studio will have all the necessary tools I need to access it?
If I have to install the server I may just stick with the MS Access database as the needs for an excessive amount of database storage won't ever be an issue.
You'd need to install MySQL server on the Server hosting the database. The clients would then connect via the network. You will however need a driver to access the MySQL-Server with VB.NET on the client machines. A simple DLL-File might be enough, though.
If you are looking for a file-based database solution have a look at SQLite. But you will have to watch out for concurrency issues here.

Windows client - MYSQL server on linux

I have a Winforms desktop app that need to read/write data from/to a MYSQL database. The MYSQL server is on a machine that runs on Linux OS. I need to know if a .NET connector is to be used or an ODBC connector?
Also, considering that I do not need remote access to MYSQL server, is a connector sufficient to access the server from the windows desktop? Do I need to do something on the server side? I've been looking around and getting mixed signals, some people said a web service is required while others said no.
I need to know if a .NET connector is to be used or an ODBC connector?
I never connected to MYSQL before, but i think you can use these data provider or, ODBC too.
Is a connector sufficient to access the server from the windows desktop?
Yes. A valid address to your server is all you need to access it, using data providers or ODBC. Of course, your database need to be up and running too.
Do I need to do something on the server side?
Just install your MYSQL database.
Maybe this link will help you.