Server & Database Management
Manage server operations and execute database queries
Server Restart
Choose a method to restart the server. This will temporarily interrupt service.
SQL Query Execution
Allowed Operations:
- SELECT - Query and view data
- INSERT - Add new records
- UPDATE - Modify existing records
- CREATE TABLE - Create new tables
- ALTER TABLE - Modify table structure
- ADD/DROP COLUMN - Modify table columns
- ADD/DROP CONSTRAINT - Manage constraints
- CREATE FUNCTION/TRIGGER - Create database functions
Forbidden Operations:
- DROP TABLE - Cannot delete tables
- DROP DATABASE - Cannot delete database
- DELETE FROM - Cannot delete records
- TRUNCATE - Cannot truncate tables
PM2 Server Logs
Click "Refresh" to load logs...
Log Information:
- All Logs - Shows both output and error logs from all PM2 processes
- Output Only - Shows only standard output (console.log, etc.)
- Errors Only - Shows only error output (console.error, uncaught exceptions)
- Auto-refresh - Automatically refreshes logs every 30 seconds when enabled
- Flush Server Logs - Permanently deletes all PM2 log files (cannot be undone)
Enable Timestamps in Logs:
By default, PM2 logs don't include timestamps. To enable timestamps, restart your server with:
pm2 delete all && pm2 start server.js --time
The --time flag adds timestamps like 2025-01-27T10:30:45 to each log line.
Log Color Legend:
- Red - Error messages
- Yellow - Warning messages
- Blue - Info messages
- Green - Success/normal messages