Skip to content

{ Category Archives } MySQL

Error 1044 in MySQL: Access denied when using LOCK TABLES

I got an error while using mysqldump
mysqldump: Got error: 1044: Access denied for user x@y to database z when using LOCK TABLES
To solve this problem, either ask you administrator to grant you the lock privileges, or use the following command instead.
mysqldump -u username -p database –single-transaction >dump.sql

Share This

Change MySQL config file

It seems trivial, and indeed it is, to specify a different configuration file for the mysql client, from the standard .my.cnf to a different file. This is generally needed when you don’t want the password to be visible in the process list, but at the same time you don’t want to use the standard .my.cnf […]

E-mail It