Friday, September 21, 2012

Re: Database name with period/dot results in SQL error



On Thursday, 20 September 2012 18:30:01 UTC+7, Johan Klinge wrote:
Hi, 

I'm trying to set up CakePHP 2.2.2 on a hosted site where I have only one mysql database which has is named like "test.se". Using this database name results in a SQL error when Cake tries to run the command: " SQL Query: SHOW TABLES FROM `test`.`se` "

I have found older posts saying that CakePHP does not support database names with reserved characters in them. 

So: is this still true in CakePHP 2.2.1? And are there any workarounds since I cannot change the database name? 

Best regards, 
Johan

Can't you rename the database ?

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate