Re: Getting CakePHP to connect to MySQL

2008-08-24 Thread Jonathan Snook

On Wed, Aug 20, 2008 at 7:03 PM, Peter Weicker <[EMAIL PROTECTED]> wrote:
>
> Thank you both. I decided to try installing Cake on my ISP instead of
> running it on my own PC. They asked me to send in photo ID before
> they'd let me use the system services I'd need to complete the
> install. Not very reassuring.
>
> So, I tried installing CodeIgniter and had it up 15 minutes after I
> started Googling for it. We Windows types may complain about our
> environment, but we are used to just downloading, installing, and
> running stuff. It seems normal to us. If CakePHP was anything like
> that it would probably rule the world.

The requirements for CodeIgniter and CakePHP are very similar. I'm
surprised that CI worked where CakePHP wouldn't. It'd be interesting
to see what you tried to do in both circumstances to see how CakePHP
could improve.

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



Re: Getting CakePHP to connect to MySQL

2008-08-20 Thread Peter Weicker

Thank you both. I decided to try installing Cake on my ISP instead of
running it on my own PC. They asked me to send in photo ID before
they'd let me use the system services I'd need to complete the
install. Not very reassuring.

So, I tried installing CodeIgniter and had it up 15 minutes after I
started Googling for it. We Windows types may complain about our
environment, but we are used to just downloading, installing, and
running stuff. It seems normal to us. If CakePHP was anything like
that it would probably rule the world.


On Aug 11, 10:35 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> On 23 Jun., 06:35, "Jonathan Snook" <[EMAIL PROTECTED]> wrote:
>
> > > Warning: mysql_connect() [function.mysql-connect]: Access denied for
> > > user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\cake
> > > \cake\libs\model\dbo\dbo_mysql.php on line 100
>
> > Make sure that you've specified the proper username and password
> > (that's what this error message is saying). xampp uses a default u/p
> > configuration that you may need to look up. (I remember running into a
> > similar issue figuring out what the defaults were)
>
> I have the exact same problem and my username and everything else is
> correct. I don't get it. And why does it always say
> U440957'@'crowdie.stor' or 'vena.store'  or something like that? what
> the hell is crowdie.stor?
>
> Warning: mysql_connect() [function.mysql-connect]: Access denied for
> user 'U440957'@'crowdie.stor' (using password: YES) in /mnt/
> web7/11/22/51435422/htdocs/cakephp/cake/libs/model/dbo/dbo_mysql.php
> on line 100
> Warning: mysql_select_db(): supplied argument is not a valid MySQL-
> Link resource in /mnt/web7/11/22/51435422/htdocs/cakephp/cake/libs/
> model/dbo/dbo_mysql.php on line 105

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



Re: Getting CakePHP to connect to MySQL

2008-06-22 Thread Jonathan Snook

> Warning: mysql_connect() [function.mysql-connect]: Access denied for
> user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\cake
> \cake\libs\model\dbo\dbo_mysql.php on line 100

Make sure that you've specified the proper username and password
(that's what this error message is saying). xampp uses a default u/p
configuration that you may need to look up. (I remember running into a
similar issue figuring out what the defaults were)

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



Getting CakePHP to connect to MySQL

2008-06-22 Thread Peter Weicker

I want to learn CakePHP to add functions to our website
(northbreeze.com). My PHP/MySQL experience is limited to a site search
function I wrote some time ago. A long time interest in Smalltalk led
me to Ruby on Rails. One good look at that led me to try CakePHP.

I've just installed XAMPP on my XP box and I'm trying to connect at
http://localhost/cake/

When the MySQL service is stopped I get this message:

CakePHP Rapid Development
Your database configuration file is present.


Warning: mysql_connect() [function.mysql-connect]: Can't connect to
MySQL server on 'localhost' (10061) in C:\xampp\htdocs\cake\cake\libs
\model\dbo\dbo_mysql.php on line 100

Warning: mysql_select_db(): supplied argument is not a valid MySQL-
Link resource in C:\xampp\htdocs\cake\cake\libs\model\dbo
\dbo_mysql.php on line 105

Cake is not able to connect to the database.


---
When the MySQL service is running I get this message:

CakePHP Rapid Development
Your database configuration file is present.


Warning: mysql_connect() [function.mysql-connect]: Access denied for
user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\cake
\cake\libs\model\dbo\dbo_mysql.php on line 100

Warning: mysql_select_db(): supplied argument is not a valid MySQL-
Link resource in C:\xampp\htdocs\cake\cake\libs\model\dbo
\dbo_mysql.php on line 105

Cake is not able to connect to the database.


--

I'm running the current (as of June 22/08) stable version of CakePHP
and my XAMPP setup is

Apache 2.2.8
MySQL 5.0.51a
PHP 5.2.5 + PHP 4.4.8 + PEAR
PHP-Switch win32 1.0 (please use the "php-switch.bat")
XAMPP Control Version 2.5 from www.nat32.com
XAMPP Security 1.0
SQLite 2.8.15
OpenSSL 0.9.8g
phpMyAdmin 2.11.4
ADOdb 4.96
Mercury Mail Transport System v4.52
FileZilla FTP Server 0.9.25
Webalizer 2.01-10
Zend Optimizer 3.3.0a
eAccelerator 0.9.5.2 for PHP 5.2.5  (comment out in the php.ini)

Any suggestions as to what I'm doing wrong?

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