Search
 
SCRIPT & CODE EXAMPLE
 

SQL

wsl install mysql

/**
 * Install MySQL server (CentOS 8)
 */
sudo dnf install mysql-server

/**
 * Now MySQL was installed, but not running.
 * Start server
 */
sudo systemctl start mysqld.service

/**
 * If you need, you can enable MySQL starting when start WSL
 */
sudo systemctl enable mysqld

/**
 * Use the security script
 */
sudo mysql_secure_installation

/**
 * Can check your MySQL parameters
 */
mysqladmin -u root -p version

/**
 * Can run commands in MySQL after login
 */
mysql -u root -p

// Result:
// mysql> [Here you can run your queries, inserts, etc.]
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql safe mode 
Sql :: mysql output csv 
Sql :: getting next sequence value jpa postgress 
Sql :: combine two columns using sql query 
Sql :: check database status oracle 
Sql :: sql ends with string 
Sql :: oracle add proxy 
Sql :: hangfire clear all jobs 
Sql :: data directory postgresql 
Sql :: An error occurred while installing mysql2 (0.3.20), and Bundler cannot continue. 
Sql :: mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password] 
Sql :: psql show columns of table 
Sql :: docker run mysql image 
Sql :: this is incompatible with sql_mode=only_full_group_by laravel 
Sql :: alter database name script 
Sql :: sqlite drop table 
Sql :: SQL Modify Column in a Table 
Sql :: python how escape sql 
Sql :: oracle saurce code 
Sql :: postgresql alter table sequence 
Sql :: postgresql search object in array 
Sql :: mysql query bulk insert 
Sql :: postgres populate table from another table 
Sql :: sql unique rows 
Sql :: How to Find Duplicate Values in a SQL Table 
Sql :: create pl/sql stored procedure 
Sql :: MySQL server is running with the –secure-file-priv 
Sql :: command line mysql xampp 
Sql :: how to find database collation in postgres 
Sql :: mysql update with subquery 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =