SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old October 31st, 2005, 02:35 AM
DarkView DarkView is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Melbourne, Victoria, Australia
Posts: 11 DarkView User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to DarkView
PHP+MySQL installation

Hi
I've made my own Windows 2000 based Apache webserver with PHP/MySQL a couple of times before, and I always seem to end up with the same problem. A few weeks after installation MySQL just locks me out. It's as if the password to root is changed. I just can't login.
When this happens I uninstall it and reinstall everything, but the fresh install would continue to act like I'm giving it the wrong password.
Before it goes bad everything works fine. MyPHPAdmin runs like a dream. My PHP and SQL stuff works just as the tutorials say they should.
I'm never doing anything that I'd consider advanced.

Recently I re-built my PC and wiped everything, so if I set it up it should work. The problem is I know that in a few weeks it'll start playing up like usual and I wont be able to fix it.
So I really don't want to install everything until I'm sure it's not going to happen again.

So does anyone know any reason why it would act like this? It's happened on multiple computers and internet connections, so I'm guessing it a stupid mistake on my part. Like MySQL will lock the root account if you don't change the password to something more secure than the default if you leave it too long.

I'm really sorry I can't offer anymore information, but if you can think of any information that might help I'll try and get it for you.

Reply With Quote
  #2  
Old December 14th, 2005, 01:11 PM
okem okem is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: helsinki, finland
Posts: 20 okem User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: PHP+MySQL installation

Try to download Easy PHP and moodle, it has PHP PHPMYSQLAdmin and Apache web server. Very easy to install and works well.

Reply With Quote
  #3  
Old December 14th, 2005, 10:05 PM
lig's Avatar
lig lig is offline
"Forum Nazi"
Codewalkers Demi-God (4500 - 4999 posts)
 
Join Date: Apr 2007
Location: Jacksonville, Fl
Posts: 4,720 lig User rank is Private First Class (20 - 50 Reputation Level)lig User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 20 m 53 sec
Reputation Power: 6
RE: PHP+MySQL installation

OK - first what version of MySQL are we talking about here? 5 requires you to give a password for root when you install it. 4 or 4.1 you can add a password for root. Look in the MySQL manual for GRANT syntax and read up on it.

Also your scripts should NEVER be using the root account for access. Always create a user(s) that have the perms the script needs and no more. ( I have been known to make 2 users for a script - 1 that can only select and another that inserts and updates.) This is basic Database security. Maybe you aren't locking the MySQL - but someone else is.

Here is also a link to a basic MySQL administration tutorial - http://phpcommunity.org/gazette/2005/nov/mysqladmin.html
If nothing else it will help you see what is going on with your setup.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > PHP+MySQL installation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway