Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C csvkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wireservice
  • csvkit
  • Issues
  • #791
Closed
Open
Issue created Feb 10, 2017 by Administrator@rootContributor

cannot connect using credential file ".mylogin.cnf"

Created by: lrob

Hello, as suggested in the documentation I'm storing the credential of my mysql db in .mylogin.cnf. After the creation of this file, the mysql client (from the command line) is connecting without asking for credential.

However if a run csvsql with the following url: mysql:///dbschema?charset=utf8, it still complains about authentication issues

(_mysql_exceptions.OperationalError) (1045, "Access denied for user 'user'@'localhost' (using password: NO)")

Is there an option or something that I have to specify in the url in order to tell csvsql to read in the .mylogin.cnf for credential information?

Thanks in advance

Assignee
Assign to
Time tracking