Search
 
SCRIPT & CODE EXAMPLE
 

SQL

allow external access to mysql

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

GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' WITH GRANT OPTION;

CREATE USER 'username'@'%' IDENTIFIED BY 'password';

GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' WITH GRANT OPTION;

FLUSH PRIVILEGES;
Comment

PREVIOUS NEXT
Code Example
Sql :: how to update date value in sql 
Sql :: postgresql to_char time 
Sql :: flask sqlalchemy filter multiple conditions 
Sql :: sql remove last 2 digit 
Sql :: get server date mysql 
Sql :: show slave status mysql 
Sql :: How to Find Duplicate Values in a SQL Table 
Sql :: CX_Oracle - import data from Oracle to Pandas dataframe 
Sql :: postgres foreign key multiple columns 
Sql :: CONCAT_WS() concat function we can use for adds two or more expressions together with a separator or delimeter. 
Sql :: postgres statistics 
Sql :: sql distinct with count 
Sql :: psql fatal database does not exist 
Sql :: mysql alter table add column first 
Sql :: mysql create database utf8 
Sql :: cannot drop database because it is currently in use 
Sql :: DROP TABLes regardless of constraints 
Sql :: select nextval from sequence sql 
Sql :: phpmyadmin password root 
Sql :: compare date mysql 
Sql :: generate a random otp in sql server 
Sql :: create index mysql cli 
Sql :: replace null in sql 
Sql :: write pandas dataframe to postgresql table psycopg2 
Sql :: sql count number of rows after group by 
Sql :: mysql update with join 
Sql :: myswql show full processlist 
Sql :: use group_concat in concat 
Sql :: sql count null as 0 
Sql :: mysql get last inserted id 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =