Bug report #2009

OGR Database Connection MySQL

Added by elewis52 - over 10 years ago. Updated over 10 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Vectors
Affected QGIS version: Regression?:No
Operating System:Linux Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:12069

Description

Cannot connect QGIS to a MySQL database. Steps to reproduce: Select "add vector layer". Select "database" under source type. Select MySQL as database type. Enter name, host, database, port, username, password under the "Create a new OGR Database Dialogue". Select "test connect". Message comes up "Connection failed ... Access denied for user '(my name)'@'localhost' (using password: no.) "Using password: no" is obviously an error. I connect to the database in question routinely using other database clients. The GUI appears not to be properly sending the password to the database server.
A workaround is to connect to the database through GRASS.

Associated revisions

Revision b402d291
Added by Jürgen Fischer over 10 years ago

fix #2009

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision c7d632ea
Added by Jürgen Fischer over 10 years ago

fix #2009

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Jürgen Fischer over 10 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in 12922.

Also available in: Atom PDF