Archiv der Kategorie ‘MySQL‘

Enterprise-Rails Startup @ Cloud – A Startup Pain Relief

Mittwoch, den 18. April 2012

What’s the pain of a startup? Adding a maximum value with minimum effort. So regarding to hosting this means to reduce the amount of non-value adding work in order to focus on the actual product. There is a trend to PaaS products facilitating the setup and deployment of a new app significantly. But reducing the [...]

MySQL – Stop replication

Montag, den 15. Juni 2009

If you want to mysql slave to stop replicating from your master db server you might want to start removing all the replication entries from my.conf. After you have done this you might experience that your server still wants to connect to the master. In order to stop this, you need to remove a file [...]

MySQL – ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/opt/local/var/run/mysql5/mysqld.sock’ (2)

Dienstag, den 5. Mai 2009

Eine Fehlermeldung wie diese: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/opt/local/var/run/mysql5/mysqld.sock’ (2) hat wohl jeder schonmal gesehen. In diesem Fall sind auf dem Rechner mehrere MySQL Versionen installiert und natürlich wird die versucht die falsche Version anzusprechen. Nach der Installation des MySQL OS X DMGs geht nun also die Suche [...]

MySQL – Lost connection to MySQL server at ‘reading initial communication packet – system error 61

Freitag, den 24. April 2009

Beim Versuch sich von außen auf einen MySQL-Server zu verbinden begnet man zu weilen folgender Fehlermeldung: #2013 – Lost connection to MySQL server at ‘reading initial communication packet’, system error: 61 Nach der Aktivierung des Großhirns und einem Studium der Konfigurationsdatei ergibt die Lösung des Problems durch folgende Änderung in /etc/mysql/my.cnf Im Abschnitt [mysqld] darf [...]

Sehr schneller import mit MySqlDump und LOAD DATA INFILE

Sonntag, den 1. Februar 2009

Hin und wieder möchte man große Datenmengen aus einer MySQL Datenbank sichern und diese wiederherstellen. Der Umgang mit Umlauten und anderen länderspezifischen Sonderzeichen (latin1 oder UTF-8) erschwert die Handhabung solcher Datensicherungen und macht die Backup- und Restore-Prozedur oft zu einer mühenvollen Angelegenheit. Häufig genügt die Verwendung von mysqldump unter der Angabe von Benutzernamen und Passwort [...]

Ändern des DataMemory oder IndexMemory eines MySQL-Clusters

Dienstag, den 12. August 2008

Das MySQL-Handbuch beschreibt die Vorgehensweise, um den DataMemory und/oder IndexMemory eines MySQL-Clusters zu erhöhen: Anpassen der config.ini Neustarten des Management-Knotens Neustarten der Daten-Knoten “DataMemory and IndexMemory can be changed, but decreasing either of these can be risky; doing so can easily lead to a node or even an entire MySQL Cluster that is unable to [...]