MySQL Tools Comparison.

  • Increase font size
  • Default font size
  • Decrease font size
Home Articles
Mysql Articles, Using MySQL GUI Tools, MySQL Features


Realtime mysql profiler

Print PDF

Best tool for profiling mysql queries

 

SmartSupp livechat

Print PDF

Hello all.

Best tool for live chat on your website!

Try for free!

 

Create SSH tunnel for MySQL connections

Print PDF
User Rating: / 78
PoorBest 

Today we consider the organization of SSH tunneling through PUTTY to MySQL.

Some programs require a connection to the database MySQL. For example mysql.exe console or other tools to work with databases of online stores or websites.

Very often, in the application, which requires a connection to the database MySQL, there are only 5 fields:

  • Host
  • Port
  • Login
  • Password
  • Database

Some hosting providers allow direct access to the databases from outside, but others provide access to MySQL only through SSH protocol.

To build a SSH tunnel from your local machine to the database on the hosting, we recommend using PuTTY.

Next, write out step by step process.

 

Using MySQL views

Print PDF
User Rating: / 513
PoorBest 
MySQL Views using
  • Advantages and restrictions of using views
  • Creating, altering and dropping views
  • Algorithms of views
  • Setting security configuration, SQL SECURITY and DEFINER properties
  • Updatable views
  • View metadata

 

view – is a database object based on a SELECT query that has tables or other views specified inside it. In other words, this is a named query that is stored in a database as a separate object. Unlike a table, a view is not a data storage.

When referring to a view, we just receive data that is returned by the internal SELECT query.

 

Use of a DELIMITER in MySQL

Print PDF
User Rating: / 371
PoorBest 

delimiter mysql

Depending on the nature of the script, you may need control of the delimiter used to separate the statements that will make up a script. The most common example of this is where you have a multi-statement stored routine as part of your script. In this case if the default delimiter of ; is used you will get an error when you attempt to execute the script.

 

The DELIMITER command is used to change the standard delimiter of MySQL commands. The standard command delimiter is the ';' character that defines the end of the query.

Script for example:

INSERT INTO actor VALUES (1, 'PENELOPE', 'GUINESS', '2006-02-15 04:34:33');
INSERT INTO actor VALUES (2, 'NICK', 'WAHLBERG', '2006-02-15 04:34:33');
INSERT INTO actor VALUES (3, 'ED', 'CHASE', '2006-02-15 04:34:33');
INSERT INTO actor VALUES (4, 'JENNIFER', 'DAVIS', '2006-02-15 04:34:33');
INSERT INTO actor VALUES (5, 'JOHNNY', 'LOLLOBRIGIDA', '2006-02-15 04:34:33');

 

Now let’s have a look at the following script. It consists of several INSERT queries, procedure creating and several more INSERT queries.

 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  Next 
  •  End 
  • »


Page 1 of 3

How create data source in Visual Studio with data from My SQL tables with FK. more...

'mysql.proc' doesn't exist fixed problem

_

Table 'mysql.proc' doesn't exist. Fix error 1146 Table doesn't exist here...