Jaysds1 Posted December 5, 2011 Share Posted December 5, 2011 Hi, Today I wanted to know if it's possible to create another database file where the "internal.dbs" file is and linking a script to it? For example, If I want to make a Clan/Gang Resource and i don't want to link it outside or on the internet but only on my computer, is it possible to do this? Link to comment
tropez Posted December 5, 2011 Share Posted December 5, 2011 (edited) https://wiki.multitheftauto.com/wiki/Modules/MTA-MySQL If you don't have a private server then use a XAMPP. Edited December 5, 2011 by Guest Link to comment
Jaysds1 Posted December 5, 2011 Author Share Posted December 5, 2011 but, I have to still use host,username,password,etc to connect it to the database i want to create. Link to comment
tropez Posted December 5, 2011 Share Posted December 5, 2011 viewtopic.php?f=108&t=28694 , that would help you. Link to comment
Castillo Posted December 5, 2011 Share Posted December 5, 2011 You may want to take a look at the new DB functions (just for nightly yet): https://wiki.multitheftauto.com/wiki/DbConnect It allows you to create your own SQLITE databases and connect to them. Link to comment
tropez Posted December 5, 2011 Share Posted December 5, 2011 1.2 haven't realised yet. I think that a small group people will be using mta mysql because a lot of people have a resources based on mysql by ryden. Link to comment
Castillo Posted December 5, 2011 Share Posted December 5, 2011 They also work in 1.1 nightly builds as it says in the wiki. Wiki quote: Available only in MTA SA 1.1.1 r3328 and onwards Link to comment
tropez Posted December 5, 2011 Share Posted December 5, 2011 (edited) To be honest it is slower then mysql by ryden but i am not sure. Edited December 5, 2011 by Guest Link to comment
Castillo Posted December 5, 2011 Share Posted December 5, 2011 Yeah, maybe, but Ryden's MySQL module cannot load SQLITE databases, and this one can, since Jaysd was looking for that, Ryden's won't help him. Link to comment
tropez Posted December 5, 2011 Share Posted December 5, 2011 For bigger server i prefer Ryden's MySQL module, other way you can use what you want - xml, files, SQLLite, MTA DB etc. Link to comment
AGENT_STEELMEAT Posted December 5, 2011 Share Posted December 5, 2011 MTA's mysql system is faster and much simpler than ryden's module. Any function that might be missing can be scripted manually. 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