Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.11.5

Bug #33 createTables.php chokes on entries with the ! character
Submitted: 2003-09-24 22:23 UTC
From: thomas at unifiedconsulting dot com Assigned:
Status: No Feedback Package: DB_DataObject
PHP Version: 4.3.2 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2003-11-19 13:33 UTC
Package:
Bug Type:
Summary:
From: thomas at unifiedconsulting dot com
New email:
PHP Version: Package Version: OS:

 

 [2003-09-24 22:23 UTC] thomas at unifiedconsulting dot com
Description: ------------ When specifying a MySQL password with the '!' character, createTables chokes. Reproduce code: --------------- Trying to specify that that MySQL user is foo with password 'bar!' using this configuration file: [DB_DataObject] database=mysql://foo:bar!@localhost/mydatabase schema_location = dataObjects class_location = dataObjects require_prefix = DataObjects/ class_prefix = DataObjects_ [DB_DataObject_FormBuilder] date_element_format = M-d-Y db_date_format = 1 Expected result: ---------------- CreateTables should create the data objects Actual result: -------------- CreateTable gives the following error: Warning: Error parsing ./myWebsite.config on line 3 in /usr/local/lib/php/DB/DataObject/createTables.php on line 34 CREATING FOR mysql://foo:bar DB Error: connect failed

Comments

 [2003-09-25 01:04 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!