Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friendlier warnings if configuration is not set/incorrect #14

Open
joereynolds opened this issue Nov 27, 2017 · 0 comments
Open

Friendlier warnings if configuration is not set/incorrect #14

joereynolds opened this issue Nov 27, 2017 · 0 comments

Comments

@joereynolds
Copy link
Owner

currently we get this

Error detected while processing function mysql#ShowDatabases[1]..mysql#GetResultsFromQuery:
line    1:
E121: Undefined variable: g:sqh_connections
E15: Invalid expression: g:sqh_connections[g:sqh_connection]['user']
line    2:
E121: Undefined variable: g:sqh_connections
E15: Invalid expression: g:sqh_connections[g:sqh_connection]['password']
line    3:
E121: Undefined variable: g:sqh_connections
E15: Invalid expression: g:sqh_connections[g:sqh_connection]['host']
line    5:
E121: Undefined variable: user
E15: Invalid expression: 'mysql -u' . user . ' -p' . password . ' -h' . host
line    6:
E121: Undefined variable: connection_details
E15: Invalid expression: connection_details . " --table -e '" . a:command . "'"
line    7:
E121: Undefined variable: system_command
E116: Invalid arguments for function system
E15: Invalid expression: system(system_command)
line    8:
E121: Undefined variable: query_results
E15: Invalid expression: query_results
--No lines in buffer--
1 line less; before #1  1 seconds ago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant