MYSQL-TOOLS

Comparison of graphical tools for MySQL

Home Blog

HeidiSQL & HTTP Tunnel - it works!

Print PDF

HeidiSQL&HTTP Tunnel

HeidiSQL is good and for someone simply irreplaceable tool for working with databases MySQL. This GUI has everything you need to work with the MySQL database. But HeidiSQL missing important functionality is the connection through the HTTP tunnel.

HeidiSQL is an easy-to-use interface and a "working-horse" for web-developers using the popular MySQL-Database. It allows you to manage and browse your databases and tables from an intuitive Windows® interface.

When you can't connect to the MySQL server directly, for example a firewall blocks the access from all network protocols, except HTTP protocol, you can use HTTP tunneling.

In this article I'll show you how to connect to remote MySQL server using HeidiSQL via HTTP Tunnel.

 

MySQL stored procedures

Print PDF
User Rating: / 7
PoorBest 

For a long time to suffer with this issue. Literature on the Internet a lot. I had to ask around at different forums, deeper digging in the manual and explain to himself some weird moments. So, short of stored procedures in MySQL.

 

MySQL and character set. Migration (or degradation)

Print PDF

Today I met with the transfer of data between two servers: MySQL 4.0 on FreeBSD (access via SSH) and MySQL 5.0 on Windows XP locally (base package XAMPP Web Servers).

In general, does not matter ... we all know that for any import and export data from one database to another, there are problems with Russian letters. You are probably faced with a bunch of articles on the subject, and they are all good, but today I went a little deeper.

The task was simple - to remove a couple of lines from one plate to the remote Web server. Put phpmyadmin and decide for 2-3 minutes ..And you can keep track of primary keys of the required records and a simple query on a remote server to remove them.

Too all that easy. I took a different route.

 

FAQ on restoring a forgotten root password in MySQL

Print PDF
User Rating: / 2
PoorBest 

mysql password resetHow to recover a lost administrator password?

This article describes what to do if you forget the administrator password or have misplaced the very root-user. The article is intended primarily for beginners, so a description of all the actions described in great detail, but the material may not be without interest and for more experienced users.

 

Optimizing Count (*) and Limit queries using slow JOIN.

Print PDF
User Rating: / 9
PoorBest 

In many Search/Browse applications you would see main (things) table which contains search fields and dimension tables which contain more information about things and which need to be joined to get query result.

If you’re executing count(*) queries for such result sets MySQL will perform the join even if you use LEFT JOIN so it is not needed which slows down things considerably. In similar way MySQL generates full rows while executing queries with limit before throwing them away which makes queries with high offset values very expensive.

To get better performance you can “Help” MySQL and remove JOIN for count(*) and do JOIN after limiting result set for retrieval queries.