Jump to content

Recommended Posts

Hi this is probly a simple one. but I am trying to install mysql on a local srtand alone PC windows XP. I have installed it but the book I bought on the subject Flash & PHP WILEY States

 

If you get the "Command not found" you need to add mysql to the Path variable. It dosn't tell me how to do this.

 

Any help

 

TIA

 

Desmond.

 

Link to comment
https://forums.phpfreaks.com/topic/137028-setup-mysql-server/
Share on other sites

It's in Windows Control Panel > System > Environment variables (if I recall correctly)

 

 

But my advice is:

Unistall your MySQL and get WampServer. Has Apache, PHP, MySQL all in one, and works great on Windows out of the box. Has some nice configuration tools as well.

Link to comment
https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-715674
Share on other sites

Cause WampServer comes with PHP and Apache, which he (most likely) will also want. It comes already configured. It comes with phpMyAdmin as probably most popular administration GUI. It gives you an easy way to have several versions of MySQL installed and switch between them with one click...

In other words it's damn useful package.

 

On the other hand, I've already pointed the OP to where he can add mysql's directory to PATH. Or at least in general direction, as I was writing it from top of my head.

 

 

Might I ask, what makes you dislike WampServer?

 

*Obviously I'm a WampServer fan

Link to comment
https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-716262
Share on other sites

*Obviously I'm a WampServer fan

 

First off, he could already have Apache/PHP installed and he's just having trouble with MySQL ;p.

 

 

 

 

And, why don't I like WAMPServer?  I actually have nothing against wampserver.  What I can't stand are the posts that go something like this:

 

 

"Help, I have a problem.  <Insert tiny config or something problem here that should take 2 seconds to fix> in <PHP|Apache|MySQL>."

 

"Oh, man just install WAMP."

 

 

Often times it's used as a fix-all, and I don't like that.

 

 

Also, I'm more of a do-it-my-self kind of person to some extent (I'm not coding my own web server ;p), so a wrapper around 3 easy to install things (4 if you count phpmyadmin, but I don't count that) seems...  I don't know how to explain it.

 

 

 

To be honest, I've never even downloaded wampserver.

 

 

-----Edit-----

 

Also, what if someone becomes dependent on WampServer?  I would rather someone successfully setup everything by himself, and then next time he needs to do it just install WampServer.

 

Let's say that someone gets super far into the web world.  He/she knows his/her way around PHP and MySQL.  Then, he/she gets a job somewhere, and his employers tell him/her to install Apache, MySQL, and PHP.  If my employee installed WampServer, I would be like, "What is that?  Get rid of it."

 

 

That was a pretty bad example, but my point is basically this:

 

I think people should learn to do things them selves first, and then move to the better tools.

 

If someone couldn't figure out how to use a hammer*, would you tell him to just use a nail gun instead?

 

 

*If someone couldn't figure out how to use a hammer, he/she should probably just give up at life, lol.

Link to comment
https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-716876
Share on other sites

First off, he could already have Apache/PHP installed and he's just having trouble with MySQL ;p.

 

Then he'd tell us that I suppose ;)

 

 

I see your point.

Me myself, I can install MySQL without fuss, but I am at a loss when it comes to Apache :P At least for windows.

When in linux, things seem to be easier... somehow?

 

And yeah... I'm always having sore fingers after using a hammer... never tried nailgun though (not really popular here)

 

Anyway, I will defend WampServer as a really good package for development purposes. Especially if you need it up and running in minutes.

Link to comment
https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-716900
Share on other sites

First off, he could already have Apache/PHP installed and he's just having trouble with MySQL ;p.

 

Then he'd tell us that I suppose ;)

 

He never told us he doesn't have them installed ;p.  Also, I wouldn't assume Apache/PHP will be meant to go with MySQL.  It is more likely, but he could be using it alone, or with a C or Java or C++ or what ever program.

 

 

 

 

Why would someone ever need a dev environment up and running in a few minutes?  I need to setup Apache/MySQL/PHP very infrequently.

Link to comment
https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-717222
Share on other sites

Why would someone ever need a dev environment up and running in a few minutes?  I need to setup Apache/MySQL/PHP very infrequently.

 

Cause they value their time? Seriously. If WampServer gives me all I need, why bother with separate downloads and installs?

Link to comment
https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-717500
Share on other sites

You don't have a reason to do so.

 

 

 

It mainly comes down to me liking to do things the way I see proper.  I think it's unneeded to have a 'wrapper' around 3 easy to install/config (well, the basic config anyway) applications, so wampserver bugs me a little.

 

 

I guess it's just one of my little annoyances.

 

I understand what you mean though.  Why bother spending 15 minutes when you can get the same thing done in 3. 

Link to comment
https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-718088
Share on other sites

Functionalities

 

WampServer's functionalities are very complete and easy to use so we won't explain here how to use them.

 

With a left click on WampServer's icon, you will be able to:

- manage your Apache and MySQL services

- switch online/offline (give access to everyone or only localhost)

- install and switch Apache, MySQL and PHP releases

- manage your servers settings

- access your logs

- access your settings files

- create alias

 

With a right click :

- change WampServer's menu language

- access this page

 

 

 

Sounds just like a wrapper to me.

Link to comment
https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-718442
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.