Showing 5 Result(s)

How to recover MySQL root password?

How to recover MySQL root password? Let’s learn how to recover MySQL root password in case you have lost it. Know how to recover MySQL root password. Log in to account using SSH. You must login to your account using SSH as the root user to recover MySQL root password. Stop the MySQL service Use …

Importing and Exporting of MYSQL Database with Command Line SSH

Importing MYSQL Database Syntax $ mysql -u username -p database_name < path_to_mysql_file_here Importing existing MYSQL database with filename "wordpress.sql" stored at directory "/home/nishant/", Username is "root", terminal will prompt for asking password. $ mysql -u root -p wordpress < /home/nishant/wordpress.sql Exporting MYSQL Database Syntax $ mysqldump -p -u username database_name > path_to_mysql_file_here Exporting MYSQL database …

How to mount remote directory using SSH ?

How to mount remote directory using SSH and make it available it as local directory. Install the module sshfs: [php]sudo apt-get install sshfs[/php] Load it to kernel [php]sudo modprobe fuse[/php] Set permissions [php] sudo adduser $USER fuse sudo chown root:fuse /dev/fuse sudo chmod +x /dev/fusermount [/php] Now create a directory to mount the remote folder …