Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

#Password File for SQL

Parameter:

--defaults-extra-file=/path/filename

defaults-extra-file=/path/filename

[client]
user=root
password=password

[mysql]
user=root
password=password

[mysqldump]
user=root
password=password

[mysqldiff]
user=root
password=password 

Example Usage:

 mysql --defaults-extra-file=/path/filename database
mysqldump --defaults-extra-file=/path/filename database > dump.sql 
  • No labels