Skip to content

bnymn/Prepare-For-Production

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Prepare-For-Production

This is how I prepare my production environment for my rails applications.

(!) DO NOT FORGET mysql_secure_installation

How To Create a New User and Grant Permissions in MySQL

CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';

CREATE DATABASE `databasename`;

ALTER DATABASE `databasename` CHARACTER SET utf8 COLLATE utf8_general_ci;

GRANT ALL PRIVILEGES ON `databasename`.* TO 'newuser'@'localhost';

FLUSH PRIVILEGES;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages