David Rodger
Registered
Hello folks,
I have been trying to get MySQL running for weeks. Nothing has worked and I'd really appreciate some help.
Here are some sets of instructions that I've tried:
Welling and Thompson, PHP and MySQL Web Development
Building Apache, MySQL, and PHP on Mac OS X
Marc Liyanage's compiled versions - now at 3.23.46
Various posts on MacOSX Hints
and I think there was something on Stepwise.
None of these work on my system. The most common problem is that, even if I get the mysqld daemon running, I cannot connect via mysql.sock. I get an error message like:
On a couple of occasions, there was no mysql.sock. On those occasions where there is a mysql.sock, it is an empty file (0 bytes) and, sometimes, is written to the wrong location (not /tmp).
All of Marc Liyanage's packages that I have tried have broken Classic Startup, and some low-level stuff that Installer and Pacifist rely on. I described this problem in this thread.
For my latest attempt, I downloaded the 3.23.46 Darwin binary. It was "pre-configured" (which I didn't know at first). When I ran the configure command, it said:
I have previously tried the source files, unpacked them, configured them, made them, installed them, etc. to no avail. I can't be many more specific about any of these attempts. I've tried this so many times (must be more than 20 times now) that I can't remember what went wrong when.
How on earth did any of you do this? I don't want to be a Unix guru. I just want to get this stuff working, so I can use it.
If I can't get this happening soon, I'm going to try Postgresql. Of course, there are far fewer hosting companies that offer Postgres, but it can't be possibly be any harder than this!
Thanks in anticipation,
David
I have been trying to get MySQL running for weeks. Nothing has worked and I'd really appreciate some help.
Here are some sets of instructions that I've tried:
Welling and Thompson, PHP and MySQL Web Development
Building Apache, MySQL, and PHP on Mac OS X
Marc Liyanage's compiled versions - now at 3.23.46
Various posts on MacOSX Hints
and I think there was something on Stepwise.
None of these work on my system. The most common problem is that, even if I get the mysqld daemon running, I cannot connect via mysql.sock. I get an error message like:
There _is_ a /tmp! I put it there!error: 'Can't connect to local MySQL server through socket '/tmp/' (38)'
Check that mysqld is running and that the socket: '/tmp/' exists!
On a couple of occasions, there was no mysql.sock. On those occasions where there is a mysql.sock, it is an empty file (0 bytes) and, sometimes, is written to the wrong location (not /tmp).
All of Marc Liyanage's packages that I have tried have broken Classic Startup, and some low-level stuff that Installer and Pacifist rely on. I described this problem in this thread.
For my latest attempt, I downloaded the 3.23.46 Darwin binary. It was "pre-configured" (which I didn't know at first). When I ran the configure command, it said:
...and that was the end of that!NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.
Installing all prepared tables
./scripts/mysql_install_db: no such file or directory [292]
I have previously tried the source files, unpacked them, configured them, made them, installed them, etc. to no avail. I can't be many more specific about any of these attempts. I've tried this so many times (must be more than 20 times now) that I can't remember what went wrong when.
How on earth did any of you do this? I don't want to be a Unix guru. I just want to get this stuff working, so I can use it.
If I can't get this happening soon, I'm going to try Postgresql. Of course, there are far fewer hosting companies that offer Postgres, but it can't be possibly be any harder than this!
Thanks in anticipation,
David