Re: Tiger killed mysql [Solved...?]

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Tiger killed mysql [Solved...?]

jc-15
I think I have it working now.
Never could find any my.cnf file in etc. Not in the present  
installation, in the archived location or on my backup. I removed all  
mysql directories from usr/local and copied from the archive. Trying  
to start in terminal by using mysqld_safe was no fun. I never got my  
cursor back. But opening another window and trying to run mysql  
worked. And then Lasso could see my DBs as well. But I'm not happy  
with the startup process stealing my cursor. Makes me worried that  
there is something wrong.

And I still can't understand why a fresh install didn't work.

HDB
JC

23 maj 2005 kl. 16.41 skrev Fletcher Sandbeck:

> On 5/23/05 at 4:22 PM by [hidden email] (JC):
>
>
>> OS X 10.4, Lasso 8.0.4.
>>
>> When upgrading to Tiger on my development machine (PB) I somehow
>> managed to kill mysql in the process.
>>
>> I've tried reinstalling from a fresh download but I keep getting the
>> same error:
>>
>> ERROR 2002 (HY000): Can't connect to local MySQL server through
>> socket '/tmp/mysql.sock' (2)
>>
>> The user mysql still exists and the directory /tmp have these access
>> rights: drwxrwxrwt. Actually /tmp is a symbolic link to /private/tmp
>> but that shouldn't matter. And in tmp there of course is no  
>> mysql.sock.
>>
>> The Tiger upgrade was done with the Archive option. Lasso works
>> perfectly after being reinstalled.
>>
>> For the moment I'm clueless.
>>
>
> MySQL is located in /usr/local/ by default, usually with a  
> configuration file at /etc/my.conf.  When you perform an "Archive  
> and Install" both of these locations will be archived into the  
> Previous Systems folder.  Re-installing MySQL would restore the  
> default state of MySQL, but would not restore any of your solution  
> databases or custom configuration.
>
> If you stop MySQL and then merge over your databases and your  
> configuration file from the respective locations in the Previous  
> Systems folder, then everything will probably be back the way it  
> was before you upgraded.
>
> Also, don't delete the Previous Systems folder until you are  
> absolutely sure you have gotten everything you need out of it.  
> Your Apache Web server root, fonts, and all sorts of settings and  
> preference files that you may need may be found in there.
>
> I'm not sure why the conventional wisdom dictates an Archive and  
> Install when upgrading to a new version of Mac OS X.  It seems  
> guaranteed to cause issues like this since a lot of software  
> installs components into portions of the OS that are archived and  
> reset.  I always try to do an install in place and then fall back  
> on an Archive and Install only if I start to see issues with the  
> computer.
>
> [fletcher]
> --
> Fletcher Sandbeck                         [hidden email]
> Lasso Product Specialist              [hidden email]
> OmniPilot, Software Inc.                http://www.omnipilot.com
>
> --
> ------------------------------
> Lasso Support: http://support.omnipilot.com/
> Search the list archives: http://www.listsearch.com/lassotalk.lasso
> Manage your list subscription:
> http://www.listsearch.com/lassotalk.lasso?manage
>


--
------------------------------
Lasso Support: http://support.omnipilot.com/
Search the list archives: http://www.listsearch.com/lassotalk.lasso
Manage your list subscription:  
http://www.listsearch.com/lassotalk.lasso?manage
Reply | Threaded
Open this post in threaded view
|

Re: Tiger killed mysql [Solved...?]

Viaduct Productions
Hi JC.

I also tend to choose Archive & Install when a new OS comes along.  It
doesn't seem to want to copy over our resources.  Httpd.conf also kicks out
my own file suffix mappings.  Barrel o' fun.

Good luck.  

Cheers


JC:

> And I still can't understand why a fresh install didn't work.



--
------------------------------
Lasso Support: http://support.omnipilot.com/
Search the list archives: http://www.listsearch.com/lassotalk.lasso
Manage your list subscription:  
http://www.listsearch.com/lassotalk.lasso?manage