Overkillz Posted December 31, 2015 Share Posted December 31, 2015 Hey dear community. Im working on a new userpanel for my server, but I have a lot of users already registered using the default db by MTA. Well, my point is close new register users by default mta db and force them to create an account on the forum to connect it with MTA Server. It will use mysql obyously. But allow them to log in with their old account (default db by mta if they have one.) There is a way to do that. ? Thanks for your time. I hope you can answer me. Link to comment
Revolt Posted December 31, 2015 Share Posted December 31, 2015 Learn SQL, analyze the database that you wish to be used as a default one, write a code that checks if login is valid and then incorporate it in a login resource. As of upgrading old accounts, you should either manually add them to the SQL database, or if there is too many of them, write code to do so for you. Link to comment
LabiVila Posted December 31, 2015 Share Posted December 31, 2015 If you know how to work with MySQL, then definitely go for it. But do not work with both, if you connect it to your forum, make sure to disable /login, /register commands from your server, so old db won't interfere with MySQL one, otherwise it will get too messy. 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