Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

use mysql 8 without password

// The easiest way to do this is to use a client section of the ~/.my.cnf file, and add the credentials there.

[client]
user=root
password=somepassword
...
Source by serverfault.com #
 
PREVIOUS NEXT
Tagged: #mysql #password
ADD COMMENT
Topic
Name
2+1 =