Skip to content

Instantly share code, notes, and snippets.

@samayo
Last active Mar 29, 2022
Embed
What would you like to do?
Snippets

MYSQL

# give access to user
GRANT ALL PRIVILEGES ON website_com.* To 'user_website_com'@'localhost' IDENTIFIED BY 'XXXXXXXX';
CREATE USER 'user_website_com'@'localhost' IDENTIFIED BY 'XXXXXXXX';
mysql -u username -p database_name < file.sql

SCP

 scp SOMETHING.zip root@159.xxx.xxx.xxx:/var/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment