• 8
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

I have created percona container in the following way:

docker run --name=sql -v /path/to/dump:/tmp/dump:ro -d -e MYSQL_ALLOW_EMPTY_PASSWORD=True -e MYSQL_DATABASE=config percona:5.6 mysqld --max-allowed-packet=100M

Where the /tmp contains all data I need for restoring the dump. But I am getting error when trying to:

docker exec 75c4b8880156 /usr/bin/mysql -uroot config < /tmp/dump/performance_db.sql

bash: /tmp/dump/performance_db.sql: No such file or directory

Even despite the fact that the file is there:

$ docker exec 75c4b8880156 ls /tmp/dump/

performance_db.sql

And I can even less/tail the content :(

Trending Tags