Advertisement
jens81

Untitled

Sep 20th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. ubuntu@ip-172-31-45-140:~$ cd /var/run
  2. ubuntu@ip-172-31-45-140:/var/run$ sudo cp mysqld/ mysqld.bc -rf
  3. cp: cannot stat 'mysqld/': No such file or directory
  4. ubuntu@ip-172-31-45-140:/var/run$ sudo chown mysql:mysql mysqld.bc/
  5. chown: cannot access 'mysqld.bc/': No such file or directory
  6. ubuntu@ip-172-31-45-140:/var/run$ sudo service mysql stop
  7. ubuntu@ip-172-31-45-140:/var/run$ sudo cp mysqld.bc/ mysqld -rf
  8. cp: cannot stat 'mysqld.bc/': No such file or directory
  9. ubuntu@ip-172-31-45-140:/var/run$ sudo chown mysql:mysql mysqld -R
  10. chown: cannot access 'mysqld': No such file or directory
  11. ubuntu@ip-172-31-45-140:/var/run$ sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &
  12. [1] 2614
  13. ubuntu@ip-172-31-45-140:/var/run$ 180920 23:21:23 [Note] /usr/sbin/mysqld (mysqld 10.0.36-MariaDB-0ubuntu0.16.04.1) starting as process 2615 ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement