Re: Can not connect Cake to a Mssql db

2010-02-08 Thread scs
just a few things i can think of that you need to watch for that might
cause the issue but are over looked easily.
1) is the host address correctif on same machine do you have it as
LOCALHOST
2) does the user "test" have permission set up in you database to
access the database "mb_bd"
3) does the user "test" have permission to access the database from
the server that you cakephp resides on.

> >> Hi,
>
> >> i try to connect cakephp and after 2 days of trying i get only the
> >> yellow box with "Cakephp can not connect to the database"
>
> >> the database si reachable because it works connecting from an external
> >> php !!!
>
> >> The database and wamp where cake is installed are on a vmware machine
> >> thats having microsoft server !!!
>
> >> The DB is Microsoft Sql Server 2008
>
> >> My config looks like this:
>
> >> var $default = array( 'driver' => 'mssql',
>
> >>      'host' => '\',
>
> >>     'login' => 'test',
>
> >>     'password' => 'test',
>
> >>    'database' => 'my_db',
>
> >>      'prefix' => '');
>
> >> Please i don`t want questions like "you have a mssql driver."  yes
> >> i have because it works connecting outside cake
>
> >> All i want is answers from people who did make the connection , or
> >> experienced ones. Lets try to make a post that will help others
> >> because on the internet is not something well explained.
>
> >> Thanks and i`m waiting your posts

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


Re: Can not connect Cake to a Mssql db

2010-02-08 Thread Trandaburu Tiberiu Andrei
The solution:   You need to make a default instance of the SQL DB .

On Mon, Feb 8, 2010 at 10:04 AM, Trandaburu Tiberiu Andrei <
birli...@gmail.com> wrote:

> did somebody connected ?
>
>
> On Sun, Feb 7, 2010 at 5:16 PM, seamaster  wrote:
>
>> Hi,
>>
>> i try to connect cakephp and after 2 days of trying i get only the
>> yellow box with "Cakephp can not connect to the database"
>>
>> the database si reachable because it works connecting from an external
>> php !!!
>>
>> The database and wamp where cake is installed are on a vmware machine
>> thats having microsoft server !!!
>>
>> The DB is Microsoft Sql Server 2008
>>
>> My config looks like this:
>>
>> var $default = array( 'driver' => 'mssql',
>>
>>  'host' => '\',
>>
>> 'login' => 'test',
>>
>> 'password' => 'test',
>>
>>'database' => 'my_db',
>>
>>  'prefix' => '');
>>
>> Please i don`t want questions like "you have a mssql driver."  yes
>> i have because it works connecting outside cake
>>
>> All i want is answers from people who did make the connection , or
>> experienced ones. Lets try to make a post that will help others
>> because on the internet is not something well explained.
>>
>> Thanks and i`m waiting your posts
>
>
>

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


Re: Can not connect Cake to a Mssql db

2010-02-08 Thread Trandaburu Tiberiu Andrei
did somebody connected ?

On Sun, Feb 7, 2010 at 5:16 PM, seamaster  wrote:

> Hi,
>
> i try to connect cakephp and after 2 days of trying i get only the
> yellow box with "Cakephp can not connect to the database"
>
> the database si reachable because it works connecting from an external
> php !!!
>
> The database and wamp where cake is installed are on a vmware machine
> thats having microsoft server !!!
>
> The DB is Microsoft Sql Server 2008
>
> My config looks like this:
>
> var $default = array( 'driver' => 'mssql',
>
>  'host' => '\',
>
> 'login' => 'test',
>
> 'password' => 'test',
>
>'database' => 'my_db',
>
>  'prefix' => '');
>
> Please i don`t want questions like "you have a mssql driver."  yes
> i have because it works connecting outside cake
>
> All i want is answers from people who did make the connection , or
> experienced ones. Lets try to make a post that will help others
> because on the internet is not something well explained.
>
> Thanks and i`m waiting your posts

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


Can not connect Cake to a Mssql db

2010-02-07 Thread seamaster
Hi,

i try to connect cakephp and after 2 days of trying i get only the
yellow box with "Cakephp can not connect to the database"

the database si reachable because it works connecting from an external
php !!!

The database and wamp where cake is installed are on a vmware machine
thats having microsoft server !!!

The DB is Microsoft Sql Server 2008

My config looks like this:

var $default = array( 'driver' => 'mssql',

  'host' => '\',

 'login' => 'test',

 'password' => 'test',

'database' => 'my_db',

  'prefix' => '');

Please i don`t want questions like "you have a mssql driver."  yes
i have because it works connecting outside cake

All i want is answers from people who did make the connection , or
experienced ones. Lets try to make a post that will help others
because on the internet is not something well explained.

Thanks and i`m waiting your posts

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