SQLite or MySQL?
Posted
#1
(In Topic #264)
Regular

Which one do most people prefer?
Which one does this site use?
Either one will work for what I want to do. I'm just wondering which is more popular around here.
Postgres???
Ced
.... and carry a big stick!
Posted
Regular

Posted
Regular

I want to be able to use any of them, but there are quirks and differences which makes concentrating on one make sense.
Which version of MariaDB? Which version of PHP?
If you guys are willing to host the SoftwareFarmDB I'm working on, I can provide the DB and code.
If anybody wants to volunteer to work on this with me, any help is most welcome.
Ced
.... and carry a big stick!
Posted
Regular

Posted
Regular

(This sucker went from 193K to 3K compressed! Talk about fluffy.)
I understand. It's not that important, I'll just grab the latest one and not use any fancy features.
Does Gambas gb.db support MariaDB?
I see SQLite, MySQL, Postgres, and ODBC.
I have a brief explanation of what I have in mind at the end of:
Where is the Software Farm documentation? - Gambas ONE
Attached is a skeletal SQLite DB file that is automatically generated from the diagram in the post.
I've got 20 plus years of database application development experience. This would be a "medium sized" project.
Ced
.... and carry a big stick!
Posted
Administrator

When working with MariaDb, you are working with a fork of MySql.
I used to run MySql on a Debian 7 server at work, we're now running Debian 9 servers and they replaced MySql with MariaDB. So, after a simple migration of the data from MySql to MariaDB, our data is now stored in MariaDB.
I didn't need to recode anything in the Gambas applications that work with the database (except for the server name when connecting to the database) as you approach MariaDB exactly the same as MySql (using gb.db.mysql component).
So, you code in Gambas as if you are coding for MySql from a gambas developers point of view.
Hope this helps,
gbWilly
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

I decided to do the right thing and support both in the tools I am writing. I've even added MsAccess 2000 to the list.
SqLite is to MySQL/MariaDB as MsAccess is to SqlServer.
Works for me.
Ced
.... and carry a big stick!
1 guest and 0 members have just viewed this.


