Wednesday, March 31, 2010

Re: Cake 1.2.6 - Can't bake anything

<?php
class DATABASE_CONFIG {

var $default = array(
'driver' => 'mssql',
'persistent' => false,
'host' => 'xxxxxxxxxxx',
'port' => 1433,
'login' => 'xxxxxxxxxxx',
'password' => 'xxxxxxxxxxxx',
'database' => 'xxxxx',
);
}
?>

On Wed, Mar 31, 2010 at 7:18 AM, Jeremy Burns <jeremyburns@me.com> wrote:
Is it worth posting your database configuration file (with username, password and server details obscured)?

Jeremy Burns
jeremyburns@me.com


On 31 Mar 2010, at 13:17, Jay Childers wrote:

> The connection parameters are solid, the authenticAtion is solid, and theserver def. Receives remote requests. This is more a problem with the bake application itself.
>
> Sent from my iPhone
>
> On Mar 31, 2010, at 6:44 AM, Jonathon Musters <luvz2drv@gmail.com> wrote:
>
>> I would start with the connection string. Making sure that the
>> user/password has access and that even sql will allow remote
>> connection by ip (tcp/ip) and named pipe
>>
>>
>>
>> On 3/30/10, Ed Propsner <crotchfrog@gmail.com> wrote:
>>> Just checking ... I'm new to Cake as well but seen it happen all too many
>>> times with different apps where someone accidentally picks the wrong server
>>> type.
>>>
>>> On Tue, Mar 30, 2010 at 11:48 PM, Jay Childers <mcfrosty@gmail.com> wrote:
>>>
>>>> I'm using IIS and MSSQL for my servers.
>>>>
>>>>
>>>> On Tue, Mar 30, 2010 at 8:39 PM, Ed Propsner <crotchfrog@gmail.com> wrote:
>>>>
>>>>> Are you meaning to use Microsoft SQL server or MYSQL ?
>>>>>
>>>>>
>>>>> On Tue, Mar 30, 2010 at 2:53 PM, McFrosty <mcfrosty@gmail.com> wrote:
>>>>>
>>>>>> So, I'm new to Cake...that being said, I followed all the directions
>>>>>> and went through the blog tutorial, so I have a tender grasp of how
>>>>>> it's supposed to work.
>>>>>>
>>>>>> I tried baking my first application today and have met with nothing
>>>>>> but failure.  While I was able to set up the console without any
>>>>>> errors, and I was able to bake the project and set up the database
>>>>>> correctly, anytime I tried to bake the models or run 'bake all' I was
>>>>>> met with:
>>>>>>
>>>>>> Bake All
>>>>>> ---------------------------------------------------------------
>>>>>> PHP Warning:  mssql_connect(): Unable to connect: SQL Server is
>>>>>> unavailable or d
>>>>>> oes not exist.  Connection is busy. (severity 9) in C:\Inetpub\wwwroot
>>>>>> \cake12\ca
>>>>>> ke\libs\model\datasources\dbo\dbo_mssql.php on line 144
>>>>>>
>>>>>> Warning: mssql_connect(): Unable to connect: SQL Server is unavailable
>>>>>> or does n
>>>>>> ot exist.  Connection is busy. (severity 9) in C:\Inetpub\wwwroot
>>>>>> \cake12\cake\li
>>>>>> bs\model\datasources\dbo\dbo_mssql.php on line 144
>>>>>> PHP Warning:  mssql_connect(): Unable to connect to server:
>>>>>> itsql.oar.tamu.edu
>>>>>> in C:\Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo
>>>>>> \dbo_mssql.php on li
>>>>>> ne 144
>>>>>>
>>>>>> Warning: mssql_connect(): Unable to connect to server:
>>>>>> itsql.oar.tamu.edu in C:
>>>>>> \Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo\dbo_mssql.php
>>>>>> on line 14
>>>>>> 4
>>>>>> PHP Warning:  mssql_select_db(): supplied argument is not a valid MS
>>>>>> SQL-Link re
>>>>>> source in C:\Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo
>>>>>> \dbo_mssql.ph
>>>>>> p on line 151
>>>>>>
>>>>>> Warning: mssql_select_db(): supplied argument is not a valid MS SQL-
>>>>>> Link resourc
>>>>>> e in C:\Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo
>>>>>> \dbo_mssql.php on
>>>>>> line 151
>>>>>> PHP Warning:  mssql_query(): supplied argument is not a valid MS SQL-
>>>>>> Link resour
>>>>>> ce in C:\Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo
>>>>>> \dbo_mssql.php on
>>>>>> line 175
>>>>>>
>>>>>> Warning: mssql_query(): supplied argument is not a valid MS SQL-Link
>>>>>> resource in
>>>>>> C:\Inetpub\wwwroot\cake12\cake\libs\model\datasources\dbo
>>>>>> \dbo_mssql.php on line
>>>>>> 175
>>>>>> Error: Your database does not have any tables.
>>>>>>
>>>>>> I see several of these errors on the cakephp forum, with no real
>>>>>> answer.  Does anybody have a clue as to what I might be doing wrong?
>>>>>>
>>>>>> Check out the new CakePHP Questions site http://cakeqs.org and help
>>>>>> others with their CakePHP related questions.
>>>>>>
>>>>>> 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<cake-php%2Bunsubscribe@googlegroups.com>For
>>>>>> more options, visit this group at
>>>>>> http://groups.google.com/group/cake-php?hl=en
>>>>>>
>>>>>> To unsubscribe, reply using "remove me" as the subject.
>>>>>>
>>>>>
>>>>> Check out the new CakePHP Questions site http://cakeqs.org and help
>>>>> others with their CakePHP related questions.
>>>>>
>>>>> 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<cake-php%2Bunsubscribe@googlegroups.com>For
>>>>> more options, visit this group at
>>>>> http://groups.google.com/group/cake-php?hl=en
>>>>>
>>>>
>>>> Check out the new CakePHP Questions site http://cakeqs.org and help
>>>> others with their CakePHP related questions.
>>>>
>>>> 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<cake-php%2Bunsubscribe@googlegroups.com>For
>>>> more options, visit this group at
>>>> http://groups.google.com/group/cake-php?hl=en
>>>>
>>>
>>> Check out the new CakePHP Questions site http://cakeqs.org and help others
>>> with their CakePHP related questions.
>>>
>>> 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 For more options, visit this group at
>>> http://groups.google.com/group/cake-php?hl=en
>>>
>>
>> --
>> Sent from my mobile device
>>
>> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>>
>> 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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> 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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
>
> To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: