Questions tagged [mac-os-x]
An operating system published by Apple.
161
questions
3
votes
1
answer
1k
views
How to set datadir to different values based on the hostname in my.cnf?
How to set datadir to different values based on the hostname in my.cnf? I want to use the same my.cnf file on a Linux machine and a Mac OS X machine where the datadir should have different values.
0
votes
1
answer
365
views
Update Postgres on server that already has version included with system
Mac OS X (Lion) Server includes Postgres (9.0.5) that it uses for some system utilities (Wiki server, caldav, etc.). I'm about to start using this server for some Rails applications and am wondering ...
5
votes
4
answers
3k
views
Trouble setting up Postgres for the first time
I have some, albeit limited, experience with MySQL and MongoDB (both running fine on server) but having trouble with Postgres and find the documentation lacking for newbies, like myself.
Postgres is ...
1
vote
1
answer
486
views
Installing Sphinx on Mac OS with XAMPP
We have:
Sphinx 2.0.3
Mac OS 10.6.8
XAMPP 1.7.3 (with MySQL 5.1.44)
Here is PATH:
user:sphinx-2.0.3-release user$ echo $PATH
/Applications/xampp/xamppfiles/bin:/opt/local/bin:/opt/local/sbin:/...
1
vote
2
answers
10k
views
Running postgresql in Mac Terminal
I have a production SQL dump file that I want to restore to my local psql db for debugging reasons.
I can't access psql via the terminal though pgAdmin3 works just fine. Here is the error I'm getting:...
2
votes
1
answer
3k
views
MySQL Workbench - Create new server instance error
When attempting to create a new server instance I get an error at the 'Test Settings' step of the creation wizard.
The error:
What check_admin_commands/local
Operation failed: /usr/local/mysql/...
14
votes
5
answers
47k
views
MySQL server has gone away obstructing import of large dumps
I am trying to import a large sql dump (2GB) to my local mysql on my mac. I have been able to do this in the past (I was using MAMP), but now I get a
ERROR 2006 (HY000) at line 7758: MySQL server ...
5
votes
2
answers
12k
views
Creating and editing my.cnf by MySQL Workbench?
I just installed MySQL Server and MySQL Workbench on a clean Snow Leopard MacBook. I hooked up Workbench with the server and was able to start the MySQL Server from within the Workbench. I enter the ...
113
votes
11
answers
349k
views
How to run psql on Mac OS X?
I installed PostgreSQL on a computer with Mac OS X using the One click installer. Then I try to access PostgreSQL using the psql command, but it doesn't seem to be available.
I get this message:
...
197
votes
17
answers
320k
views
How do I find PostgreSQL's data directory?
I forgot how I started PostgreSQL the last time (it was months ago) and I don't remember where the data directory is located. The postgres command seems to require the location of the data directory.
...
4
votes
1
answer
392
views
Using CoreData on a client-side application
This may be a bit more of an SO question, but...
If I'm writing a client-side application for OS X that's going to sync with an online MySQL database, is there any difference on if I have CD use ...