Search
 
SCRIPT & CODE EXAMPLE
 

SQL

mysql remote connection command line

mysql --host=localhost --user=myname --password mydb
Comment

Connect to Remote MySQL Database through Command Line

mysql -u {username} -p'{password}' 
    -h {remote server ip or name} -P {port} 
    -D {DB name}
Comment

connect to Remote MySQL server

mysql> CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost'
    ->     WITH GRANT OPTION;
mysql> CREATE USER 'monty'@'%' IDENTIFIED BY 'some_pass';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'%'
    ->     WITH GRANT OPTION;
Comment

PREVIOUS NEXT
Code Example
Sql :: my sql alter table 
Sql :: union and union all 
Sql :: microsoft sql server import bak file 
Sql :: % Wildcard in SQL 
Sql :: how to run sql query in mysql workbench 
Sql :: mysql order by calculated column 
Sql :: max in postgresql 
Sql :: capabilities of sql select statements 
Sql :: finding leap year in sql 
Sql :: flask sqlalchemy session delete 
Sql :: mysql stand for 
Sql :: xamarin sql lite create table if not exist 
Sql :: criteria builder select subset of column 
Csharp :: c# get current directory 
Csharp :: c# delete file if exists 
Csharp :: aabb collision 
Csharp :: unity float from another script 
Csharp :: loop through an enum c# 
Csharp :: csgo throw last grenade bind 
Csharp :: how to call something once in update 
Csharp :: c# get date 
Csharp :: how to make something addforce in the direction of something in untiy 
Csharp :: unity find gameobject by name 
Csharp :: c# executable directory 
Csharp :: c# copy to clipboard 
Csharp :: c# resize image keep aspect ratio 
Csharp :: button color uwp c# 
Csharp :: c# long to int 
Csharp :: c# get wifi ip address 
Csharp :: unity smooth camera 2d 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =