Garry's Mod

Garry's Mod

147 ratings
SQLWorkbench - In-game SQLite & MySQL database viewer
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
File Size
Posted
Updated
899.086 KB
Apr 14, 2019 @ 2:04pm
Sep 15, 2020 @ 3:41pm
7 Change Notes ( view )

Subscribe to download
SQLWorkbench - In-game SQLite & MySQL database viewer

In 2 collections by Methylenedioxymethamphetamine
GAS
3 items
dev
28 items
Description
🖥️ SQLWorkbench 🖥️
This tool is an in-game SQLite & MySQL database interface for Garry's Mod.

Using this tool, you can manage your server's local SQLite database (garrysmod/sv.db) and any remote MySQL databases you desire to connect to.

───────────────────────────────────────────────────────────────

👉 Requirements 👈
Only super admins can use SQLWorkbench.

To connect to MySQL databases, your server must have the MySQLOO module[github.com] installed.

───────────────────────────────────────────────────────────────

⚙️ Usage ⚙️
To open the menu, first make sure you are a super admin, and then either:

  • Type !sqlworkbench in chat
  • Type sqlworkbench in your game's console

───────────────────────────────────────────────────────────────

⚡ Features ⚡
  • Interface with remote MySQL servers
  • Interface with server's local SQLite database
  • Execute SQL queries
  • SQL beautifier
  • SQL syntax highlighting
  • Basic live SQL autocompletion
  • Supports multiple simultaneous MySQL connections
  • Tabbed view of each connection
  • View results of SQL queries
  • All actions are logged to the server's console
  • Automatic presets for SELECT, UPDATE, DELETE and INSERT statements
  • MySQL passwords are Vernam-cipher encrypted before being sent to the server (better than nothing, right?)
  • MySQL password field is masked unless hovered
  • Shows query execution times
  • Menu can be minimized and opened in the same state later on
  • CREATE TABLE statement retrieval
  • Icon differentiation for empty tables and populated tables
  • Table row deletion
  • Table row updating
  • Table deletion
  • Table emptying
  • Internally uses prepared statements and appropriate escaping to prevent SQL injection
  • Discards net messages sent by non-super-admins to prevent exploitation
  • Discards net messages sent by players who do not have the SQLWorkbench menu open to prevent exploitation
  • Menu elements can be dragged and sized to your liking
  • Primary key columns are highlighted in yellow
  • Uses the Ace embedded code editor[ace.c9.io], and works offline without a need for JavaScript CDNs

───────────────────────────────────────────────────────────────

🤖 GitHub 🤖
https://github.com/WilliamVenner/SQLWorkbench
Popular Discussions View All (1)
2
May 20, 2021 @ 11:48pm
PINNED: Bug Reporting
Methylenedioxymethamphetamine
15 Comments
Lameon_ Dec 1, 2023 @ 10:53am 
[SQLWorkbench] [ERROR] Error: Lost connection to server at 'handshake: reading initial communication packet', system error: 0 somebody help pls
sSxqGd Jul 23, 2022 @ 2:32pm 
Thank you!
-JakerZ Jan 3, 2021 @ 11:06am 
Nice handy Tool!
DarkLore Dec 29, 2020 @ 4:18pm 
MySQLOO module[ github.com ] installed. where u put the files like u need to find where to pick it
Potions Sep 28, 2020 @ 5:44am 
How do i make the window bigger?
InsanePyro Sep 2, 2020 @ 7:52am 
thank you so much that way i can experiment and edit so easy
rtkz_wasa19741 Jun 21, 2020 @ 1:28am 
Data --> MYSQL?
A1steaksa Mar 8, 2020 @ 8:30am 
I am just so very thankful that you've gone through the effort here so I don't have to
Momofier Apr 22, 2019 @ 1:40pm 
Yo this is going to do mucho in lowering the filesize of the DB file it's soo bloated from old projects and users that will not come back