Re: mysql and php

2005-05-29 Thread cma7b5
I have the php app Gallery, a php web based based photo gallery running and that works fine. mysqld is running and I can login through the CLI and use the db 'mysql' with root or with my superuser, so that's OK. All that seems to have transfered over from upgrading the OS without a hitch.

Re: mysql and php

2005-05-29 Thread cma7b5
I don't see anything I haven't tried there, i.e., defining the sock in the connection. Thanks. On May 29, 2005, at 1:33 PM, Philip George wrote: try looking at these two pages: http://dev.mysql.com/doc/mysql/en/access-denied.html

Re: mysql and php

2005-05-29 Thread cma7b5
Ok, thanks all. I believe I need a fresh installation. What I do get is why running 'mysqladmin -variables' reports the location of mysql.sock and there seems to be no mysql.sock anywhere on this machine! Not in /tmp not /var/mysql (where it says it is). Gil On May 29, 2005, at 1:59 PM,

Re: mysql and php

2005-05-29 Thread cma7b5
Yes, now-a-days php is enabled by default... well on OSX Server it is and Mysql support is built-in and turned on. You do have to start Mysql on OSX Server. Gil On May 29, 2005, at 3:35 PM, [EMAIL PROTECTED] wrote: re-submitted re-send : hi, php has to be configured with mysql

Re: mysql and php

2005-05-29 Thread cma7b5
Remember guys, I went through this on the phpmyadmin list before turning here. I was told to run the command 'mysqladmin variables' to find out where the the socket was; I did that successfully and it showed up at /var/mysql/mysql.sock. And viola, now with mysqld running, it does show up

Re: mysql and php

2005-05-29 Thread cma7b5
Ok, afraid I'm having to ask: how do access the mysql log file? Or, how to enable logging... I gather this will cause a verbose mode from the CLI? Not sure what I should be doing here. Thanks in advance. As for the 3 elements listed below --wouldn't those be present in the mysql db

Re: mysql and php

2005-05-29 Thread cma7b5
This is very old, several years, info you've been passing along. Mysql switches are on by default now. Mac OSX (Server for me) is not 10.4 Tiger, you've posted 10.2 Jaguar info, one version prior to 10.3 Panther which was itself released over a 18 months ago. Thanks anyway. :) Gil On

mysql and php

2005-05-28 Thread cma7b5
I'm on Mac OSX and Mysql is built-in, so is php. My php has built-in support for mysql. Both php and mysql are up and running. I have tested both. All this is running on this machine, so is Apache. I can log into mysql at the CLI with my superuser and access the 'mysql' db -the only one

Re: mysql and php

2005-05-28 Thread cma7b5
From your first message below, are you suggesting a setting in Apache needs to be ticked? I can do it if I know where to look. I am no expert, just one who uses tis setup, i.e., it just works. I have used the previous version for years and it just worked. That's why I have no idea what