Connection Issues
Oracle Connection Errors
ORA-12170: TNS:Connect timeout occurred
ORA-12170: TNS:Connect timeout occurred
-
Verify the Oracle server is running:
-
Test network connectivity:
-
Check firewall rules:
-
On macOS with Docker, use
host.docker.internalinstead oflocalhost:
ORA-12541: TNS:no listener
ORA-12541: TNS:no listener
-
Start the Oracle listener:
-
Verify listener configuration in
listener.ora: -
Check if the correct port is being used:
ORA-01017: invalid username/password
ORA-01017: invalid username/password
- Verify credentials are correct
-
Check if user exists:
-
Ensure password is set correctly:
-
Check environment variables:
MySQL Connection Errors
ECONNREFUSED: Connection refused
ECONNREFUSED: Connection refused
-
Verify MySQL is running:
-
Check MySQL is listening on the correct port:
-
Ensure MySQL is bound to the correct interface in
my.cnf: -
Use
host.docker.internalon macOS/Windows:
ER_ACCESS_DENIED_ERROR: Access denied for user
ER_ACCESS_DENIED_ERROR: Access denied for user
-
Verify credentials:
-
Check user host permissions:
-
Grant access from Docker network:
-
Verify environment variables are set correctly:
ER_BAD_DB_ERROR: Unknown database
ER_BAD_DB_ERROR: Unknown database
-
List available databases:
-
Create the database:
-
Verify connection string:
MikroTik Connection Errors
Connection timeout
Connection timeout
-
Enable API service on MikroTik:
-
For SSL connections, enable API-SSL:
-
Test connectivity:
-
Check firewall rules on MikroTik:
Authentication failed
Authentication failed
-
Verify user exists:
-
Ensure user has correct group:
-
Test credentials manually:
-
Check environment variables:
Permission Errors
Oracle Permission Issues
ORA-00942: table or view does not exist
ORA-00942: table or view does not exist
-
Grant SELECT permission:
-
Grant SELECT on entire schema:
ORA-01031: insufficient privileges (EXPLAIN)
ORA-01031: insufficient privileges (EXPLAIN)
SELECT_CATALOG_ROLE for explain plans.Solution:ORA-00604: error occurred at recursive SQL level (AWR)
ORA-00604: error occurred at recursive SQL level (AWR)
MySQL Permission Issues
SELECT command denied
SELECT command denied
-
Grant SELECT on specific tables:
-
Grant SELECT on entire database:
Performance Schema access denied
Performance Schema access denied
performance_schema (needed for AWR).Solution:Docker Issues
docker: command not found
docker: command not found
- Install Docker Desktop (macOS/Windows) or Docker Engine (Linux)
-
Verify installation:
-
Ensure Docker daemon is running:
Cannot connect to Docker daemon
Cannot connect to Docker daemon
-
Start Docker daemon:
-
Add user to docker group:
-
Test Docker access:
Image pull errors
Image pull errors
-
Pull image manually:
- Check Docker Hub for image availability
-
Build image locally if needed:
Client Configuration Issues
Claude Desktop
MCP server not appearing in Claude
MCP server not appearing in Claude
-
Verify JSON syntax:
-
Check file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Restart Claude Desktop after configuration changes
-
Check Claude logs for errors:
- macOS:
~/Library/Logs/Claude/
- macOS:
Environment variables not being passed
Environment variables not being passed
-e flag for each environment variable.VS Code
MCP inputs not prompting
MCP inputs not prompting
-
Verify input syntax:
-
Reload VS Code window:
Ctrl+Shift+P→ “Developer: Reload Window”
MCP server not recognized
MCP server not recognized
- Place in User Settings (JSON) or
.vscode/mcp.json - Remove
mcpkey when using.vscode/mcp.json:
Debugging Tips
Enable Verbose Logging
Testing Connection Manually
Oracle SQLPlus Test
Oracle SQLPlus Test
MySQL Client Test
MySQL Client Test
MikroTik API Test
MikroTik API Test
Common Error Messages
| Error | Likely Cause | Quick Fix |
|---|---|---|
ECONNREFUSED | Service not running | Start database/router service |
ETIMEDOUT | Firewall blocking | Check firewall rules |
Authentication failed | Wrong credentials | Verify username/password |
Permission denied | Insufficient privileges | Grant required permissions |
Unknown database | Database doesn’t exist | Create database or fix name |
Table doesn't exist | No SELECT grant | Grant SELECT permission |
Performance Issues
Slow query execution
Slow query execution
- Missing indexes
- Large result sets
- Network latency
-
Use
EXPLAINto analyze queries: -
Add indexes:
-
Limit result sets:
AWR report generation timeout
AWR report generation timeout
- Increase query timeout (if supported)
- Optimize Performance Schema configuration:
Getting Help
- Check the GitHub repository for similar issues
- Review server-specific documentation:
- Check MCP protocol documentation at modelcontextprotocol.io
- Open a GitHub issue with:
- Error messages
- Configuration (redact credentials)
- Steps to reproduce
- Environment details (OS, Docker version, etc.)