RE: [PHP-DB] PHP, MySQL and phpMyAdmin versions...

2004-12-17 Thread Bastien Koert
huh? you can and should be able to upgrade to 4.0.x without too many 
problems. PHP 4.3.9 has no problems with that, nor will PHPMyAdmin. Moving 
to mySQL 4.1 will involve more pain as the protocols are vastly different 
and uses a different php library (mysqli).

For upgrade info see here (http://dev.mysql.com/doc/mysql/en/Upgrade.html)
What you might want to do, is back up your v3 db. then install 4.0.x (they 
can co-exist on the same machine). Configure PHP and PHPMyAdmin to handle 
the new server as well, then migrate the data to the new server (in the case 
of MyISAM tables, just copy the folders from the v3 db to the data folder in 
the v4 db)

hth
bastien
From: Mark Benson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP-DB] PHP, MySQL and phpMyAdmin versions...
Date: Fri, 17 Dec 2004 15:58:08 +
I am running MySQL 3.23.49 under Windows NT (XP Home). I also run PHP 4.3.9 
on the same server, and use phpMyAdmin 2.6.0-pl2 for admin to my databases. 
I cannot upgrade to MySQL 4.x becuase apparently the MySQL API included 
with my PHP distro is not up to date enough to work with the revised 
security system in MySQL 4. I can't find a newer or better binary distro of 
PHP4 with a more suitable API, nor do i have the time, facilities or 
knowledge to bake my own from the source.

Any suggestions, as I really need some of the facilities in MySQL 4.1.x?
P.S. for Matrin Nowland - thanks for the help on the 'ON DUPLICATE KEY 
UPDATE' thing, I didn't realise it was a new thing in MySQL 4.1.0! goes 
away to kick himself ;-)

--
Mark Benson
http://homepage.mac.com/markbenson
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP-DB] PHP, MySQL and phpMyAdmin versions...

2004-12-17 Thread Norland, Martin
 -Original Message-
 From: Bastien Koert [mailto:[EMAIL PROTECTED]

 huh? you can and should be able to upgrade to 4.0.x without too many 
 problems. PHP 4.3.9 has no problems with that, nor will PHPMyAdmin.
Moving 
 to mySQL 4.1 will involve more pain as the protocols are vastly
different 
 and uses a different php library (mysqli).

Which will, however, be almost completely pointless as the functionality
he wants is only in 4.1.

Also, it's not painful moving to mysql 4.1 at all - you can still use
the mysql_* functions just fine.  Mysqli_* functions are an option, not
a requirement.  Still, surely it can't be that hard to find mysql 4.1
for NT...

http://dev.mysql.com/downloads/mysql/4.1.html#Windows

Definitely read up on those upgrade/release notes!

Windows binaries for php 4.10 / php 5 - these should be new enough to
work with however the libraries bit works, so you'd just need to find
the php mysql[i] windows library, driver, etc. whatever they call it.
http://www.php.net/downloads.php


Installing phpmyadmin is nothing, you just drop it in place essentially
- works fine with php5 and mysql4.1 here.

Cheers,
- Martin Norland, Database / Web Developer, International Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php