boostorg / boostorg/mysql

Example on session timeouts

Open
#61 0 comments 0 reactions 0 assignees View on GitHub
review-issue
Dominant language
C++
Stars
299
Forks
43
PR merge metrics
No merged PRs in 30d

Description

Write an example demonstrating how to use the `wait_timeout` session variable to modify session timeout:

```
conn.query("SET SESSION wait_timeout = 3600");
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the repository's documentation or example entry point for MySQL session variables and start by reviewing nearby examples. Add an example showing how to use the wait_timeout session variable to modify the session timeout, then verify that the documented usage matches the issue's conn.query example.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, mysql
Domain
databases, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.