[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] RE: MySQL - Creating Databases / Users / Tables - solution
- Subject: RE: [cobalt-users] RE: MySQL - Creating Databases / Users / Tables - solution
- From: Greg Hewitt-Long <greg@xxxxxxxxxxxxxxxxxxx>
- Date: Mon May 6 13:55:22 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>did you called the script index.php ??
>
>sorry if i am not tonight answering.
No, I called it something else, but altered the script internally to call itself. The socket location is the issue I think, not the calling of the script itself.
>
>Here in holland 2 ours ago a great new politicus (Pim Fortuyn )
>is being killed it was also on cnn
>
>
>-----Oorspronkelijk bericht-----
>Van: cobalt-users-admin@xxxxxxxxxxxxxxx
>[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]Namens Greg Hewitt-Long
>Verzonden: maandag 6 mei 2002 19:43
>Aan: cobalt-users@xxxxxxxxxxxxxxx
>Onderwerp: [cobalt-users] RE: MySQL - Creating Databases / Users /
>Tables - solution
>
>
>>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
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To Subscribe or Unsubscribe, please go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To Subscribe or Unsubscribe, please go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users
--
http://www.webyourbusiness.com/
Providers of E-Commerce Software &
Web Design Consultancy and Services.
PH: (970)266-0195 FAX: (970)266-0158