[Bb-trac] [bbPress] #762: Add unix socket connection to mysqli and fail connecting message to mysql(i)

bbPress bb-trac at lists.bbpress.org
Mon Dec 10 03:15:45 GMT 2007


#762: Add unix socket connection to mysqli and fail connecting message to
mysql(i)
------------------------+---------------------------------------------------
 Reporter:  livibetter  |       Owner:           
     Type:  defect      |      Status:  new      
 Priority:  normal      |   Milestone:           
Component:  Back-end    |     Version:  0.8.3    
 Severity:  normal      |    Keywords:  has-patch
------------------------+---------------------------------------------------
 There is a topic [http://bbpress.org/forums/topic/cannot-select-db-error
 Cannot select DB error!] spotting two problems.

 1. No way to connect via unix socket when use mysqli

 2. When bbPress fail to connect DB, it shows "Cannot select DB.". This is
 incorrect message, and cause hardly to know what the real problem is.
 Forum owner may input a username with correct password that can connect,
 but no permission to use the specific database. Reversely, when forum
 owner read "Cannot select DB." after fixing, that clearly saying username
 and password has been passed, but may have no permission.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/762>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list