AsYetUntitled / Framework

Altis Life RPG mission framework for Arma 3 originally made by @TAWTonic.
Other
245 stars 308 forks source link

Wiki enhancing --> Setup part. #359

Closed Stacced closed 6 years ago

Stacced commented 7 years ago

Expected behaviour

Nothing special, except be more precise.

Actual behaviour

Lack of useful informations

Steps to reproduce the behaviour

Just read.

Changes

  1. For the MySQL part, when you're using the altislife.sqf file, you have to edit the database username for the procedures, else they will not run and it'll be broken. Example : CREATE` DEFINER=`arma3`@`localhost` PROCEDURE `resetLifeVehicles`() BEGIN UPDATE `vehicles` SET `active`= 0; END$$

Here, the username is arma3. If you're using root or something else, it won't work.

  1. Create separate tutorials for extDB2 install and extDB3 install. Plus, add a upgrading tutorial to switch from extDB2 to extDB3, both client and server side.

Feel free to add your suggestions here.

ColinM9991-zz commented 7 years ago

The point with 1 is that people actually create a less privileged SQL user, instead of using 'root'.

Stacced commented 7 years ago

yeah of course, maybe it could be easier to create the user with the database, with the right perms only. we could add this into the altislife.sql, so everything's setup'd and protected

ColinM9991-zz commented 7 years ago

Agreed, feel free to make a Pull Request for that and it can be merged in.

Stacced commented 7 years ago

working on it atm, will release it probably today or tomorrow :D

Jawshy commented 7 years ago

Reference: https://github.com/AsYetUntitled/Framework/pull/363

Jason2605 commented 6 years ago

363 has been merged.