Category Archives: mysql

mysqld recover root password on CentOS 7

The disaster scenario is that you have been installing third party software and its scripts somehow screwed up your mysql (users, tables, whatever). Or it could be that you get a server with mysqld already installed but you don’t know … Continue reading

Posted in bash, centos, docker, linux, mac, mysql | Leave a comment

phpMyAdmin migrate database

I’m making dockers for all my web applications. And most of my web applications are hooked up with databases. And where you have a database, you have phpMyAdmin. Anyway. I have this computer A with a very extensive database that … Continue reading

Posted in bash, bits, containers, docker, filesystems, leginon, mysql, yum | Leave a comment

A leginon docker on CentOS 7 Part II: centos7AutoInstallation.py

On the previous post, we prepared a basic LAMP docker to hold a leginon installation.¬† I assume now you downloaded the installer for CentOS 7 and copied it to the docker via ssh or shared folder. We can simply run … Continue reading

Posted in bits, centos, containers, docker, EM, filesystems, leginon, linux, modules, mysql, yum | 1 Comment

A docker macvlan on CentOS 7

I want to dockerize my services (not only leginon) so I need to find out an effective way to integrate them onto our intranet. That is proven to be a little bit complex, since I have partial control of our … Continue reading

Posted in bash, bits, centos, containers, docker, hardware, leginon, mysql, programming | Leave a comment

Python test we can connect to MySQL db

Probably you have mysql for some reason. You may have some form of it¬†because of Leginon or you simply have phpMyAdmin because you need it for something else. If you don’t have it, probably you will anytime soon, since database … Continue reading

Posted in bits, containers, docker, linux, mysql | Leave a comment

A leginon CentOS 6 container on CentOS 7

Continuing with our cooking recipes, I’m going to install leginon on a CentOS 6 container running on CentOS 7. We start creating a CentOS 6 container: lxc-create -n centos6 -t download — -d centos -r 6 -a i386 lxc-start -n … Continue reading

Posted in bits, centos, containers, EM, hardware, leginon, linux, mysql, python | 1 Comment

mariadb service not starting on Fedora 22

Today I was trying to install natika on my apache server. My server is a Fedora 22 machine. I know, it’s an old system, but if it works, why to change it? It’s a rhetorical question, of course. I know … Continue reading

Posted in bits, linux, mysql | 1 Comment