[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RE: MySQL - Creating Databases / Users / Tables - solution
- Subject: [cobalt-users] RE: MySQL - Creating Databases / Users / Tables - solution
- From: Greg Hewitt-Long <greg@xxxxxxxxxxxxxxxxxxx>
- Date: Mon May 6 10:54:00 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>i use this php script:
>
><HTML>
><HEAD>
><TITLE>MySQL user</TITLE>
></HEAD>
><BODY BGCOLOR=white TEXT=black>
><font face='verdana, arial' size=1>
><?
>if( $navn && $kodeord ) {
>
>echo "$addremove user $navn with password $kodeord...<br>";
>mysql_connect( "localhost", "root", "$pwdadmin" );
>echo mysql_error();
[snip rest of script]
This looks exactly like the script I'm looking for - however I get connection errors - the php on my box is looking for /tmp/mysql.sock and on my box it's apparently at:
/var/lib/mysql/mysql.sock
Where do I change this?
tia
Greg
--
http://www.webyourbusiness.com/
Providers of E-Commerce Software &
Web Design Consultancy and Services.
PH: (970)266-0195 FAX: (970)266-0158