I am trying to start a second mysqld instance to restore data from backup (innoDB).
Following the manual I put together this:
P="/var/lib/reoback/backups/2014-06-30/var/lib/mysql"
cd $P
mkdir tmp
touch mysql.log
chown -R mysql:mysql .
# mysqld v5.0
mysqld --console --port=3399 --socket=/var/run/mysqld/mysqld.sock --datadir=$P /
--pid-file=$P/mysqld.pid --log=$P/mysql.log --log-bin=$P/bin.log /
--log-error=$P/error.log --tmpdir=$P/tmp --innodb_force_recovery=6
and ended up crashing my running instance.
Question is: How do I create a second mysqld instance using the backup folder?
$P/error.log
? And without logs we can only guess – user9517 Jul 2 '14 at 11:39