Wednesday, May 2, 2018

Re: dbext: unable to connect to MySQL database



On Tue, May 1, 2018 at 1:38 PM, Stevan Earl <stevan.earl@asu.edu> wrote:
....
 
My MySQL connection looks like the following but I have tried every combination that I can think of: with and without passwd, -t, port, dbname.

let g:dbext_default_profile_mysql_local = 'type=MYSQL:host=localhost:port=3306:user=myusername'

When I execute a query, the return looks similar to the mysql man page along with my connection parameters that appear correct. I get a similar result even if I type in the connection parameters manually in the dbext dialog box. The connection parameters work fine when connecting from the shell so I know those also are not (or should not be) the problem.



Can you supply a mysql command line call that correctly connects to the database.
If we start with something that works outside of Vim, then we can come up with the correct dbext connection string.

I assume that this is all running on the same machine that Vim is running on, given the host=localhost.

David


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment