|
|
 |
Re: FN-FORUM php
date posted 1st August 2001 16:47
try using the syntax :-
$link = mysql_connect( "$hostname:$port","$userid","$userpass" );
$link = what you want to call the connection
$hostname = the server you login to
$port = default is 3306
$userid = your login username or database username (depends on your host)
$userpass = you login password or database password (again depends on your
host)
Hope That Helped
--
William Eborall
www.cic-tfc.f2s.com
http://dwarfer.freelancers.net
----- Original Message -----
From: "Henry Hughes" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Tuesday, July 31, 2001 6:27 PM
Subject: RE: FN-FORUM php
> You certainly did and I slapped a copy on the credit card.
>
> I'm working my way through it as we speak... I am very pleased to see it
> has Mr Wankyu Choi as one of its authors.
>
> At present I am following its introduction into mysql... can't say I'm
> getting very far via telnet and my webspace : can't get my login right I
think.
>
> I created a database using the web control interface provided by my
host...
> this has a seperate login to my shell account. I can login to mysql using
> the shell account pass, but can't use the database I created, I get:
> ERROR 1044: access denied for user: [EMAIL REMOVED] to database
'mydatabasename'
>
> Anyone got any ideas what to do?
>
> H
>
> At 17:29 31/07/2001 +0100, you wrote:
>
> >I sent this to Henry (I think)....they are very good...
> >
> >
> >
> >book on Begining PHP4
> >
> > http://www.amazon.co.uk/exec/obidos/ASIN/1861003730/projectmanagem0b )
> >
> >By the way...its a cracking book...and if you get through that
one...there
> >is an advanced one too..
> >
> >(http://www.amazon.co.uk/exec/obidos/ASIN/1861002963/projectmanagem0b)
> >
> >
> >Regards
> >
> >Darren Spink
> >
> >http://www.arkad.leeds.co.uk
> >
> >Tel: +44(0)113 253 4750
> >Fax: +44(0)113 253 1686
> >ICQ: 56667649
> >-----Original Message-----
> >From: [EMAIL REMOVED]
> [EMAIL REMOVED] Behalf Of Rob Garbutt
> >Sent: 31 July 2001 12:04
> >To: [EMAIL REMOVED]
> >Subject: FN-FORUM php
> >
> >can anyone recommend a good book to learn php?
> >Robin Garbutt
> >Portfolio Art & Design Ltd
> >Tel - +44 (0) 1204 383822
> >Fax - +44 (0) 1204 383866
> >Mob - +44 (0) 7811 185490
> >e-mail - [EMAIL REMOVED]@portfoliodesign.net
> >
> >For further information please visit us at :-
> >www.portfoliodesign.net
> >
> >The contents of this e-mail are confidential to the ordinary user of the
> >e-mail address to which it was addressed and may also be privileged. If
you
> >are not the addressee of this e-mail you may not copy, forward, disclose
or
> >otherwise use it or any part of it in any form whatsoever. If you have
> >received this e-mail in error please e-mail the sender.
>
>
>
> ============================================================
>
> * Free listing for freelancers
> * Free to advertise jobs
> * Free jobs distribution service
> * Free database of 1000 freelancers
>
> Freelancers and Freelance Jobs
> http://www.freelancers.net
>
> To post to the Forum:
> [EMAIL REMOVED]
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>
> To subscribe to the digest for this list or for further information please
visit:
> http://www.freelancers.net/forum.html
|
 |
|