ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to create a server on my laptop. I have a windows 7 OS. I have downloaded Apache HTTP Server, MySQL Server and PHP. My Apache seems to be working well at one point ie. when I use the http://localhost "It Works" does show in the browser. When I attempt to sign on the MySQL Server with my password the command prompt shuts off so quick I can't even read what the window says. The MySQL server seems to be running in the task manager under mysqld.exe. I am not sure what else to do.
End goal: have mysql running and adn communicating with php on apache.
Maybe this will seem a daft question, but: are you trying to accomplish this stuff, on the Windows 7 OS? It looks that way.
While there may be some folks around here who can help you, I would not hold my breath waiting for them - this is a Linux forum, not Windows.
If there's Linux involved in this situation somewhere, please explain where and how.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Whilst I no longer use Windows at all and, as has been said, this is a linux forum, I used to use Windows and when I did I found XAMPP to be a very easy way to get Apache, Mysql, PHP and other associated components working. There is a version available for Windows 7. There's information here and here about this useful product.
Maybe this will seem a daft question, but: are you trying to accomplish this stuff, on the Windows 7 OS? It looks that way.
While there may be some folks around here who can help you, I would not hold my breath waiting for them - this is a Linux forum, not Windows.
If there's Linux involved in this situation somewhere, please explain where and how.
Thanks, and kind regards.
At the top of every thread in this "department" it's written:
Quote:
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
...
I can't help the OP since I do not run Windows.
At the top of every thread in this "department" it's written:
Thank you very much. I am quite aware of what it reads in the sticky. And had this thread arrived in the "General" forum I would not have written anything.
Since the thread is in the /Programming forum, my post was a (perhaps poor) attempt at determining whether there was a 'programming' component to the question (in which case the thread may stay right here, but there does not appear to be such a component) or if it is neither 'programming' nor 'Linux', in which case it will move to "General", since it is purely a Windows question..
Quote:
...
I can't help the OP since I do not run Windows.
Help with code to access the database with PHP sounds like it might belong in this forum. Setting up the client/server communication and client authentication I'd say are outside the scope of this forum and as it's on windows which may very well be different to how the linux version works, it's probably outside the scope of LQ completely. Probably better to ask on a site frequented by DBAs (or dare I say: even RTFM! )
One thing to watch out for is that mysql doesn't do native platform authentication, it has it's own internal set of users and passwords. Perhaps this is what is causing the problem.
You could try something like "mysql --user=root" and see what happens, but mysql on Windows may very well be different to linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.