Search
 
SCRIPT & CODE EXAMPLE
 

SQL

mysql grant all privileges to a user

GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
Comment

grant all privileges mysql

/*
The GRANT statement is used to assign full control over specific database by providing all priviledge.
Follow below statement for assign priviledge to user
*/

Syntax: 
GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql procedures 
Sql :: find tables with column name in sql 
Sql :: sql create index 
Sql :: oracle list duplicates 
Sql :: how to know the username of postgresql 
Sql :: insert query in ci 
Sql :: mssql find deadlocks 
Sql :: ubuntu reset mysql root password 
Sql :: pl sql ptint 
Sql :: null column to 0 in mysql 
Sql :: insert data in pgsql 
Sql :: ora-01109 database not open in oracle 19c 
Sql :: mysql query to check record exists in database table or not 
Sql :: get count of duplicate records 
Sql :: rename constraint postgresql 
Sql :: get value from a table an insert it with other values in another table sql 
Sql :: mysql average of multiple columns 
Sql :: sql limit results returned 
Sql :: mysqli last row 
Sql :: oracle drop temporary table 
Sql :: convert money to varchar sql server 
Sql :: mysql separator 
Sql :: how to delete user in mysql 
Sql :: multiple count in sql 
Sql :: insert current date in mysql 
Sql :: alter schema sql server 
Sql :: select new table sql 
Sql :: how to drop all tables in sql 
Sql :: import all databases mysql 
Sql :: joomla execute raw sql 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =