RE: [PHP-DB] Access to Mysql

2002-02-13 Thread Richard Black
EMAIL PROTECTED] Subject: [PHP-DB] Access to Mysql I am a complete newbie at this so please excuse me if I seem stupid. I have a guestbook on one site which was created using ASP and an Access database. I have created a new site using the much more friendly PHP and wish to get the dat

[PHP-DB] Access to Mysql

2002-02-13 Thread Alex Francis
I am a complete newbie at this so please excuse me if I seem stupid. I have a guestbook on one site which was created using ASP and an Access database. I have created a new site using the much more friendly PHP and wish to get the data into my mysql database. Can I do this easily, and if so can a

Re: [PHP-DB] Access to MySQL denied

2001-10-26 Thread Dommers
If your php-script runs on the same server as mysql, you should try 'localhost' as the hostname. That worked for me in most cases. "Russ Michell" <[EMAIL PROTECTED]> schreef in bericht news:SIMEON.10110260917.B@k1c. anglia.ac.uk... > >Of course, it works perfectly fine on my home computer, so I g

Re: [PHP-DB] Access to MySQL denied

2001-10-26 Thread Kirill Safarov
I am new to MySQL (I am more used to Microsoft SQL), but it seems to me that if I provide "username" string as the username parameter, that's what MySQL should use to login into the database. Why is "@lsh101.siteprotect.com " being appended to it? The "username" was provided by the webhost, and a

Re: [PHP-DB] Access to MySQL denied

2001-10-26 Thread Russ Michell
>Of course, it works perfectly fine on my home computer, so I guess it musthave >something to do >with the configuration of PHP (or, possibly, MySQL?) How do you connect to MySQl from home? It sounds as if the user trying to connect to MySQL doesn't have the right privileges to connect top th

[PHP-DB] Access to MySQL denied

2001-10-26 Thread Kirill Safarov
I cannot connect to MySQL database located at the webhost. The command: $link = mysql_connect('hostname:3306','username','password') or die ("Could not connect"); (with the proper hostname of course) returns this error message: MySQL Connection Failed: Access denied for user: '[EMAIL PROTECTED]'

RE: [PHP-DB] Access to MySQL Conversion question

2001-10-19 Thread Tony McCrory
select max(idfield) from table > -Original Message- > From: Brad Harriger [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 18, 2001 7:32 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] Access to MySQL Conversion question > > > I have several MS Access

RE: [PHP-DB] Access to MySQL Conversion question

2001-10-18 Thread Rick Emery
Brad Harriger [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 18, 2001 1:32 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Access to MySQL Conversion question I have several MS Access databases that I need to convert to MySQL. Each table is indexed on an ID field. How do I find the last index number i

[PHP-DB] Access to MySQL Conversion question

2001-10-18 Thread Brad Harriger
I have several MS Access databases that I need to convert to MySQL. Each table is indexed on an ID field. How do I find the last index number in the existing table so that I can increment it for the next record that is added? Thanks, Brad -- PHP Database Mailing List (http://www.php.net/) T