View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
17982Bug reportsInstallationpublic2022-04-04 10:09
ReporterValerio_Bozzolan Assigned Togalads  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.x 
Summary17982: Installing using a MySQL socket causes «Database doesn't exist!»
Description

How to reproduce:

  • create a database
  • create an user@'%' identified by a password
  • grant all privileges to user@'%' to that database
  • install LimeSurvey and fill MySQL configuration
  • remove "localhost" as MySQL server and set a valid socket like "/var/run/mysqld/mysqld.sock"
  • set the database name normally
  • save

What it happens:

«Database doesn't exist!»

What should happen if the database exists and if the MySQL user can see the database:

Normal installation.

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)5.3.6
I will donate to the project if issue is resolvedYes
Browser
Database type & versionMySQL/MariaDB
Server OS (if known)
Webserver software & version (if known)
PHP Version7.3

Users monitoring this issue

Valerio_Bozzolan

Activities

Valerio_Bozzolan

Valerio_Bozzolan

2022-03-23 14:28

reporter   ~68783

Proposed fix:

https://github.com/valerio-bozzolan/LimeSurvey/commit/defe912ef7570cdd6d6c52e346b349f4559911eb

Valerio_Bozzolan

Valerio_Bozzolan

2022-03-23 14:30

reporter   ~68784

Last edited: 2022-03-24 10:43

Pull request:

https://github.com/LimeSurvey/LimeSurvey/pull/2311

guest

guest

2022-03-30 11:35

viewer   ~68829

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33378

LimeBot

LimeBot

2022-04-04 10:09

administrator   ~68861

Fixed in Release 5.3.8+220404

Related Changesets

LimeSurvey: master d5410486

2022-03-30 11:23:53

Valerio Bozzolan


Committer: GitHub Details Diff
Fixed issue 17982: Malformed DSN when using MySQL socket and DB name during installation (#2311) Affected Issues
17982
mod - application/models/InstallerConfigForm.php Diff File

Issue History

Date Modified Username Field Change
2022-03-23 14:19 Valerio_Bozzolan New Issue
2022-03-23 14:28 Valerio_Bozzolan Note Added: 68783
2022-03-23 14:28 Valerio_Bozzolan Bug heat 0 => 2
2022-03-23 14:30 Valerio_Bozzolan Note Added: 68784
2022-03-23 14:38 Valerio_Bozzolan Issue Monitored: Valerio_Bozzolan
2022-03-23 14:38 Valerio_Bozzolan Bug heat 2 => 4
2022-03-24 10:43 galads Assigned To => galads
2022-03-24 10:43 galads Status new => acknowledged
2022-03-24 10:43 galads Zoho Project Synchronization => |Yes|
2022-03-30 11:35 Changeset attached => LimeSurvey master d5410486
2022-03-30 11:35 guest Note Added: 68829
2022-03-30 11:35 guest Bug heat 4 => 6
2022-04-04 10:09 LimeBot Zoho Project Synchronization Yes => |Yes|
2022-04-04 10:09 LimeBot Note Added: 68861
2022-04-04 10:09 LimeBot Status acknowledged => closed
2022-04-04 10:09 LimeBot Resolution open => fixed
2022-04-04 10:09 LimeBot Bug heat 6 => 8