![]() |
|
#1
|
|||
|
|||
MySQL 4.1 and PHP 4.xI'm sorry if this has already been asked. Did a few searches, but the term limit of 4 characters made searching for "4.1" a little difficult.
Using PHP 4.3.9 and MySQL 4.1, I have the following code: (obviously, some of the details like the password and username were changed) PHP Code:
I get Quote:
I know that I could solve the problem by upgrading to php5, but the hosting service I will be using after development may not upgrade for a while. Is there a way to get this to work? |
|||
|
#2
|
||||
|
||||
|
Try changing your database host '127.0.0.1' to say 'localhost', instead.
I can't see how changing your PHP or MySQL version will make a difference - its just supposed to work from PHP. Are you running this from a Windows system? |
|
#3
|
||||
|
||||
|
Hello RyanM,
I have not updated my MySQL server to the latest version (4.1) yet so I am unable to help you with this particular problem. However, a quick search on the MySQL website yielded an interesting page full of information I think you can use to fix your problem, at least you can understand why it's happening. Quote:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#4
|
|||
|
|||
|
Quote:
I got it to work by setting up the old password as stated in the directions. |
|
#5
|
||||
|
||||
|
No, I must thank you instead for asking this question.
At least I will have one less issue to figure out when I upgrade MySQL on my own machine soon. ![]() __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#6
|
|||
|
|||
|
Quote:
|
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RESELLER WEB HOSTING - $9.99/MONTH For 4GB HD & 30GB BW! CPanel, PHP, MySQL & MORE! | IncognitoNet | Web Hosting Advertisements & Offers | 0 | 11-Nov-2004 20:51 |
| PHP, MySQL, WML | skyloon | MySQL / PHP Forum | 0 | 05-Mar-2004 08:53 |
| FREE 25 MB, No Ads, Control Panel, ASP, ColdFusion, PHP, MySQL, Access Hosting | rkmails | Free Web Hosting | 0 | 08-Sep-2003 06:49 |
| [script] Password Protect web pages/site using PHP and MySQL | JdS | PHP Code Library | 0 | 23-Jul-2003 11:02 |
| Windows: From only £20p/y,Linux: from $10p/m. ASP, ASP.NET, PHP, Free MySQL, +More | EyotaHosts | Web Hosting Advertisements & Offers | 0 | 28-Jun-2003 14:54 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The