This document contains SQL queries to create a database called "cszsms" on the localhost server 127.0.0.1. It also creates a user called "cszsms-owner" and grants all privileges on the new database to this user from localhost, 127.0.0.1, and ::1.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
35 views1 page
Cszsms SQL Query
This document contains SQL queries to create a database called "cszsms" on the localhost server 127.0.0.1. It also creates a user called "cszsms-owner" and grants all privileges on the new database to this user from localhost, 127.0.0.1, and ::1.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
localhost / 127.0.0.1 | phpMyAdmin 4.7.
Run SQL query/queries on server "127.0.0.1":
1 CREATE DATABASE 'cszsms'
2 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; 3 4 CREATE USER 'cszsms-owner'@'localhost'; 5 CREATE USER 'cszsms-owner'@'127.0.0.1'; 6 CREATE USER 'cszsms-owner'@'::1'; 7 8 SET PASSWORD 9 FOR 'cszsms-owner'@'localhost'=PASSWORD('cszsms123$%'); 10 11 SET PASSWORD 12 FOR 'cszsms-owner'@'127.0.0.1'=PASSWORD('cszsms123$%'); 13 14 SET PASSWORD 15 FOR 'cszsms-owner'@'::1'=PASSWORD('cszsms123$%'); 16 17 GRANT ALL PRIVILEGES ON 'cszsms'.*TO'cszsms-owner'@'localhost' WITH GRANT OPTION; 18 GRANT ALL PRIVILEGES ON 'cszsms'.*TO'cszsms-owner'@'127.0.0.1' WITH GRANT OPTION; 19 GRANT ALL PRIVILEGES ON 'cszsms'.*TO'cszsms-owner'@'::1' WITH GRANT OPTION;
C lear For mat Get auto-saved quer y
Bind parameters
Bookmark this SQL query :
[ Delimiter ; ] Show this query here again Retain query box Rollback when f inished