Skip to content

Instantly share code, notes, and snippets.

@carolyncole
Created January 15, 2020 02:41
Show Gist options
  • Save carolyncole/2466fe286e48fddae186092f43e7ce07 to your computer and use it in GitHub Desktop.
Save carolyncole/2466fe286e48fddae186092f43e7ce07 to your computer and use it in GitHub Desktop.
error that happened yesterday
deploy@library-prod3:/var/www/library_cap/current$ mysqldump libwww-prod
-- MySQL dump 10.13 Distrib 5.7.28, for Linux (x86_64)
--
-- Host: maria-prod.princeton.edu Database: libwww-prod
-- ------------------------------------------------------
-- Server version 5.7.28-31-57-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
mysqldump: Got error: 1105: Percona-XtraDB-Cluster prohibits use of LOCK TABLE/FLUSH TABLE <table> WITH READ LOCK/FOR EXPORT with pxc_strict_mode = ENFORCING when using LOCK TABLES
deploy@library-prod3:/var/www/library_cap/current$ ~/sql/set_permission.sh
mysql: [Warning] Using a password on the command line interface can be insecure.
deploy@library-prod3:/var/www/library_cap/current$ mysqldump libwww-prod > libwww-prod-01152020.sql
-su: libwww-prod-01152020.sql: Permission denied
deploy@library-prod3:/var/www/library_cap/current$ mysqldump libwww-prod > ~/libwww-prod-01152020.sql
deploy@library-prod3:/var/www/library_cap/current$ sudo -u www-data drush status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment