Changes

Jump to: navigation, search

OPS345 Lab 4

4 bytes added, 01:12, 9 January 2022
Create an SQL user
Instead creating a user in AWS RDS takes these three steps:
#Create a user with this username and password (replace andrewdb with yours):<source>CREATE USER 'andrewdbasmith15db'@'%' IDENTIFIED BY 'andrewdbpasswordasmith15dbpassword';</source>
#Find what privileges your dbroot is able to assign:<source>show grants for 'dbroot';</source>
#Give the most important permissions to your db user:<source>GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE ON firstdb.* TO 'asmith15db'@'%';</source>

Navigation menu