Skip to main content
gamedev.net
🔒 Locked

MySQL

Started by vbisme Dec 28, 2001 at 12:55 PM 2 replies 200+ views
Original Post
vbisme
vbisme
I''ve download the installed MySQL, PHP, and Apache. My I try to run the command mysqladmin -u root create mydb to create a database it gives me the error: "connect to server at ''local host'' failed error: Can''t connect to MySQL server ''on localhost'' Check that mysql is running on localhost and at the port (whatever) ... " What''s wrong?
CaptainJester
CaptainJester
There is a tutorial that comes with mySQL. It is very straightforward and explains how to start the server and how to manage it.

---
Make it work.
Make it fast.
"None of us learn in a vacuum; we all stand on the shoulders of giants such as Wirth and Knuth and thousands of others. Lend your shoulders to building the future!" - Michael Abrash[JavaGaming.org][The Java Tutorial][Slick][LWJGL][
bishop_pass
bishop_pass
Also, to interface to MySQL with PHP via the Apache server, you have to edit a config file (I''m not sure what the filename is) for the Apache server. I wish I could tell you more what to do, but I don''t know the settings off the top of my head.

Suffice to say, if things aren''t running right, you are only a few steps from getting things running right. It''s just a matter of finding out exactly what to do.
_______________________________
"To understand the horse you'll find that you're going to be working on yourself. The horse will give you the answers and he will question you to see if you are sure or not."
- Ray Hunt, in

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.