Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to integrate database into software

Tags:

mysql

I am practicing writing an app which use MySQL to manipulating data. My concern is if my client machine doesn't have have MySQL pre-installed, it's not be able to run my app, is it?. So is there anyway to embed the database server right into the app, or to run the app without the data server. I wonder how all the softwares out there manipulates data. It's not like we need to install some kind of database server before install the app.

like image 669
NC7 Avatar asked Nov 22 '25 03:11

NC7


1 Answers

MySQL is a client/server database engine, which means that you must install the client and server separately from each, and they communicate over some kind of network protocol.

If you want to deploy a stand-alone application, you are probably better off using a library like SQLite, which gives you as much of the functionality of a SQL database as you are likely to need in such an app, but instead operates on local files and doesn't require installation of a separate server.

like image 82
Marcelo Cantos Avatar answered Nov 24 '25 01:11

Marcelo Cantos



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!