Another method is to access Pi through a computer using putty(SSH) and logging into the root and installing, we have an instructable which mentions how to install putty and access Pi through a computer ,you can get it here .In this instructables we are following the second method.
Filip brings 15 years of extensive experience in architecture, design and development of distributed application frameworks and containers and is recognized for his top-quality system development skills and continuous participation of Open Source development projects.
Hi, I am having out of memory issues on my web servers.
I tried tracking the heap memory but I could not find any pattern on when it goes out of memory.
My normal procedure is to stop mysql, move the directory contents, link the original, and restart mysqld.
[[email protected] ~]$ sudo su - [[email protected] ~]# [[email protected] ~]# service mysqld stop Stopping mysqld (via systemctl): [ OK ] [[email protected] ~]# mv /var/lib/mysql/ /opt/ [[email protected] ~]# ln -s /opt/mysql /var/lib/ [[email protected] ~]# ls -la /var/lib/mysql lrwxrwxrwx 1 root root 10 Feb 26 /var/lib/mysql - /opt/mysql [[email protected] ~]# service mysqld start Starting mysqld (via systemctl): [ OK ] [[email protected] ~]# mysql -uroot Welcome to the My SQL monitor. Your My SQL connection id is 2 Server version: 5.5.18-log My SQL Community Server (GPL) mysql I just noticed a similar question, of which this is close to a duplicate of, which mentions some issues of doing that above with selinux enabled; So if you have selinux there are some additional steps. which is the default context element for the location of database files.