Thanks Brett,
I eneded up downloading CompleteMySQL which is a cocoa app and runs
natively on OSX. It was a difficult thing to get running but fortunately
a visiting software engineer was able to hack it and found out that I
had a permissions issue with /tmp/var that didn't allow the mysql daemon
to start but also fooled it into thinking mysql was running. 4 hours
later I got it running!
Brian
On Sat, 2005-03-19 at 02:28, Brett Duncan wrote:
> Hi Brian,
> 
> from what you've written, it seems pretty clear that the mysql server 
> is not getting up and staying up. Hence when you try to use mysql, it 
> bails because it can't see the server.
> 
> I seem to recall that I couldn't get mysqld_safe to work properly 
> either, but I found that mysqld (without the "safe" wrapper) would 
> work. So you might try
> 
> shell> sudo /sw/bin/mysqld
> 
> and see if that starts up okay. The other thing that I've just 
> remembered is that you may need to run the command
> 
> shell> mysql_install_db
> 
> in order to set up the grant tables. (You'll probably need to cd to 
> the installation directory, and may need to use sudo as well.)
> 
> If you still cannot get the <insert preferred expletive> thing to 
> work, your choices look to be either to reinstall mysql through fink, 
> or, if you're not committed to doing it all under X11, you could 
> download CompleteMySQL from http://www.serverlogistics.com and run 
> the OSX installer package - this download includes a prefPane for 
> starting and stopping the server. You still run mysql in an X11 
> shell, or you could use something like CocoaMySQL 
> (http://cocoamysql.sourceforge.net/) if you want to play entirely in 
> Aqua and not use X11 at all. The downside of using CompleteMySQL is 
> that fink will no longer show you whether your version is outdated, 
> and you only get a recent stable version, not the latest unstable (if 
> that is important for you).
> 
> Let me know how you get on.
> 
> Brett
> 
> 
> >Additionally,
> >I tried the method in the documentation at the end of the install and got:
> >[Brian-OKeefes-Computer:/sw] brianoke% sudo /sw/bin/mysqld_safe & (I 
> >hit return here)
> >[3] 1358
> >[Brian-OKeefes-Computer:/sw] brianoke% Password:
> >
> >When I entered my password it showed up in type and then a "command not 
> >found"
> >error showed up. I have know idea what that means.
> >
> >Thanks guys,
> >Here is the result of trying to start the mysql daemon:
> >[Brian-OKeefes-Computer:/sw] brianoke% sudo ./bin/mysqld_safe
> >Starting mysqld daemon with databases from /sw/var/mysql
> >STOPPING server from pid file
> >/sw/var/mysql/Brian-OKeefes-Computer.local.pid
> >050318 10:21:57  mysqld ended
> >
> >Not knowing if this meant the daemon shut down (thou that seems the
> >case) I ran:
> >/sw] brianoke% mysql -u root
> >ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> >'/tmp/mysql.sock' (2)
> >
> >So I'm sort of stuck?
> >Brian
> >
> >



-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to