Sinisterly
MySQL Database Help ! - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: MySQL Database Help ! (/Thread-MySQL-Database-Help)

Pages: 1 2


MySQL Database Help ! - Shining White - 04-11-2012

Okay Here is the Simply problem i have ,

i have develop a program which include databases ,

i used MySQL for it and , this is the problem i have !

lets think the database on root/programming file/MySQL/sql server/data/

so each time i install my software on other computer i should install MySQL Server on that Computer and place the database folder on the Path

lets think if my software size is 10 mb
and damn MySQL Server 4.1 size is 38 mb

is there any way to make this simple ?

like using Notepad for database ?


MySQL Database Help ! - Shining White - 04-11-2012

Okay Here is the Simply problem i have ,

i have develop a program which include databases ,

i used MySQL for it and , this is the problem i have !

lets think the database on root/programming file/MySQL/sql server/data/

so each time i install my software on other computer i should install MySQL Server on that Computer and place the database folder on the Path

lets think if my software size is 10 mb
and damn MySQL Server 4.1 size is 38 mb

is there any way to make this simple ?

like using Notepad for database ?


RE: MySQL Database Help ! - Frooxius - 04-11-2012

"Using notepad for a database" doesn't make any sense, Notepad doesn't provide any services/API that would allow it to be used like that, you apparently mean that you want to store the data in a plain-text file, in which case the answer is: Don't do it, it will turn into a mess really fast.

If you don't need specifically MySQL, but can use other database engines, try using http://www.sqlite.org A lot of programs use it, even Firefox for example.



RE: MySQL Database Help ! - Frooxius - 04-11-2012

"Using notepad for a database" doesn't make any sense, Notepad doesn't provide any services/API that would allow it to be used like that, you apparently mean that you want to store the data in a plain-text file, in which case the answer is: Don't do it, it will turn into a mess really fast.

If you don't need specifically MySQL, but can use other database engines, try using http://www.sqlite.org A lot of programs use it, even Firefox for example.



RE: MySQL Database Help ! - Shining White - 04-11-2012

that mean i should install MySQL in every machine ?
is PhpMyAdmin Use Same Technology ?


RE: MySQL Database Help ! - Shining White - 04-11-2012

that mean i should install MySQL in every machine ?
is PhpMyAdmin Use Same Technology ?


RE: MySQL Database Help ! - Frooxius - 04-12-2012

No it doesn't, just read the website...
It's a self-contained library that becomes part of your program and the whole database is stored in a single file. No need for any server, yet you can work with it like with one from your code.

It's also quite small, so you can distribute it easily.

Seriously, why am I even telling you this, there's a nice "Frequently Asked Questions" button on the page I linked or "Features" or "Getting started". Can't be friendlier than that.



RE: MySQL Database Help ! - Frooxius - 04-12-2012

No it doesn't, just read the website...
It's a self-contained library that becomes part of your program and the whole database is stored in a single file. No need for any server, yet you can work with it like with one from your code.

It's also quite small, so you can distribute it easily.

Seriously, why am I even telling you this, there's a nice "Frequently Asked Questions" button on the page I linked or "Features" or "Getting started". Can't be friendlier than that.



RE: MySQL Database Help ! - Shining White - 04-15-2012

Nope , i got it Biggrin , i used Binders for my works Biggrin


RE: MySQL Database Help ! - Shining White - 04-15-2012

Nope , i got it Biggrin , i used Binders for my works Biggrin