Quantcast
Channel: Absolutely Tech » MySQL
Browsing latest articles
Browse All 8 View Live

Solution to “MySQL Server Has Gone Away” Problem

Seriously guys, I got this error and I was laughing hard. The error is just too funny, don’t you think? Yes, it is but not for developers like me. Problem to this error is almost undetectable and there...

View Article



Get Auto Increment value from MySQL table

Many a times we require the next Auto Increment value from a MySQL table. Most of the people would do something like this: $query = "Select MAX(id) from users"; $res = mysql_query($query); $row =...

View Article

[HOW-TO] Converting case in MySQL

I had been wondering this for few days. I wanted a solution which could comvert first letter of text in some fields to uppercase and the rest to lower. I got time today and experimented a bit and found...

View Article

[HOW-TO] Back up all MySQL databases

To backup all or some of your MySQL databases, you’ll need mysqldump which comes bundled with mysql. If you have MySQL installed, you probably have mysqldump installed already. To backup all databases...

View Article

[SOLVED] ‘Can’t connect to local MySQL server through socket’ error

Yesterday I got the error: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) when I ran the command mysql through terminal in Ubuntu 10.10 This...

View Article


[SOLVED]’Error establishing a database connection’ in wordpress

One of my clients got this error in his wordpress: Error establishing a database connection It is one of those vague errors which give very little information about what caused it. On going to...

View Article

[HOWTO] Use local phpmyadmin with remote MySQL

My host recently started allowing remote connections to its mysql database. It was a really useful feature – I could not change database settings from my own computer. Since it started allowing remote...

View Article

[HOWTO] Reset MySQL root password on Ubuntu when you’ve forgotten it

To err is human. Humans forget things, MySQL root password is one of those things. However, its not very difficult to reset the root password if you have root access to the machine. The tutorial does...

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images