FlyingSpoon Posted April 20, 2015 Share Posted April 20, 2015 What would be more better to learn? MySQL OR SQLite or SQL whatever it is called dbConnect one , ( Connecting to PHPMyAdmin database ) Link to comment
MTA Team botder Posted April 20, 2015 MTA Team Share Posted April 20, 2015 SQLite is a kind of compact form of MySQL. The syntax is almost the same and you should have no problems if you start with SQLite or MySQL. Anyway, I suggest you to start with MySQL, because it will cover the SQLite syntax. Link to comment
WhoAmI Posted April 21, 2015 Share Posted April 21, 2015 By using dbConnect you are able to connect to SQLite and MySQL database. SQL dbConnect( "sqlite", "file.db" ) MySQL host = "localhost"; name = "database_name"; user = "user"; password = "password"; dbConnect( "mysql", "dbname=" .. name .. ";host=" .. host, user, password, "share=1" ) Link to comment
xXMADEXx Posted April 21, 2015 Share Posted April 21, 2015 What you'll want to learn depends on what you want to be capable of. SQLite and MySQL have basically the same syntax (Very little differences). What it really comes down to is speed and accessibility. SQLite will be faster than MySQL because its a file directly on the file, however you cannot access these files from a website. MySQL offers PHPMyAdmin, so you can view the file from a web server, however it's a remote server so it will take a little more time to execute query's. Check this tutorial: viewtopic.php?f=148&t=38203 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now