Define session time-out in MySQL

This article deals with basics of time-out session in MySQL.
  • 2255

Wait before session time-out

Session time-out is used for security purposes. It is an automatic log off if user is not access the data for long time. All secure internet services have this protection. This command directs the CPU to wait for a specified amount of time before session timeout. The time is specified in seconds.

Server=specifiedServerAddress;Database=specifiedDatabase;Uid=Username;Pwd=password;Connection Timeout=10;

Further Readings

You may also want to read these related articles.

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.