otuatail Posted December 15, 2008 Share Posted December 15, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/ Share on other sites More sharing options...
Mchl Posted December 15, 2008 Share Posted December 15, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-715674 Share on other sites More sharing options...
ngreenwood6 Posted December 15, 2008 Share Posted December 15, 2008 scratch all of that and go and download wampserver from http://www.wampserver.com/en. that is the best windows installation. Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-716034 Share on other sites More sharing options...
corbin Posted December 15, 2008 Share Posted December 15, 2008 Y'all are wasting his time suggesting that. He already has it setup, but he needs to add it to his PATH. Why would you suggest he uninstall everything and reinstall? *Obviously I'm not a WAMPServer fan. Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-716251 Share on other sites More sharing options...
Mchl Posted December 15, 2008 Share Posted December 15, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-716262 Share on other sites More sharing options...
corbin Posted December 16, 2008 Share Posted December 16, 2008 *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. Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-716876 Share on other sites More sharing options...
ngreenwood6 Posted December 16, 2008 Share Posted December 16, 2008 I would tell him to use a nail gun if it was not necessary and easier to use it. Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-716897 Share on other sites More sharing options...
Mchl Posted December 16, 2008 Share Posted December 16, 2008 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 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. Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-716900 Share on other sites More sharing options...
corbin Posted December 17, 2008 Share Posted December 17, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-717222 Share on other sites More sharing options...
Mchl Posted December 17, 2008 Share Posted December 17, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-717500 Share on other sites More sharing options...
corbin Posted December 17, 2008 Share Posted December 17, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-718088 Share on other sites More sharing options...
Mchl Posted December 17, 2008 Share Posted December 17, 2008 Consider that WampServer has also this nice tray menu, that lets you enable/disable apache modules and PHP extensions with one click. Me like. I'd say it's a bit more than a 'wrapper' although (fortunately) not too much. Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-718171 Share on other sites More sharing options...
corbin Posted December 18, 2008 Share Posted December 18, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-718442 Share on other sites More sharing options...
Mchl Posted December 18, 2008 Share Posted December 18, 2008 I will stick with 'a bit more than that' Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-718565 Share on other sites More sharing options...
corbin Posted December 20, 2008 Share Posted December 20, 2008 Well, I will stick with a wrapper. ;p Quote Link to comment https://forums.phpfreaks.com/topic/137028-setup-mysql-server/#findComment-720144 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.