Search
 
SCRIPT & CODE EXAMPLE
 

SQL

how to login to mysql as normal user in ubuntu

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

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

how to login to mysql as normal user in ubuntu

mysql -u newuser -p
Comment

PREVIOUS NEXT
Code Example
Sql :: sql recursive query 
Sql :: update from select postgresql 
Sql :: convert all tables in database to from myisam to innodb 
Sql :: oracle all columns 
Sql :: sql revert migration 
Sql :: how to verify sequence result in oracle SQL 
Sql :: get string between specific character sql 
Sql :: delete from table where length sql 
Sql :: max mysql 
Sql :: sqlalchemy existing db file 
Sql :: concatenation in sql 
Sql :: take sql dump in to file 
Sql :: postgres trim string 
Sql :: sql query print strings and int 
Sql :: inserted row count tsql 
Sql :: open cursors in oracle 
Sql :: mysql sleep connections 
Sql :: mysql select random rows large table 
Sql :: sql server get week dates from week number 
Sql :: table users 
Sql :: postgresql install with ansible 
Sql :: how to reset autoincrement in sqlite java 
Sql :: not in in mongodb 
Sql :: SQL JOIN and Aliases 
Sql :: store date time in mysql 
Sql :: sql decimal with 2 places 
Sql :: mod in sql 
Sql :: duplicate a column in sql 
Sql :: apex run 404 
Sql :: INSERT INTO GBP Plus(Index Change) VALUES( AND((SELECT NUMINDEX FROM GBP WHERE IDID-1) - (SELECT NUMINDEX FROM GBP WHERE ID=ID )) 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =