Hello! I have a droplet on Ubuntu with RoR, rvm and MySQL are installed and configured.
I dont have the source code, it
ll should be downloaded by the other man, through the remote access.
He asked my to open him access to a new, none-root user, access to DB and the way, where he can download files with the RoR application.
What do I have to do?
Much thanks!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
First step:
MAKE SURE YOU TRUST THEM
Next Step:
edit /etc/mysql/my.cnf change this line (if it exists)
To this:
restart MySQL:
add rule in the firewall:
Finally, grant them access in MySQL. This example assumes the user is “remote_user”, the password is “remote_password” and database is “local_db”. Change to match what you need. If you need full access:
For most rights, but not full rights:
For Read-Only: