MySQL Forums
Forum List  »  Replication

Re: Replication problem
Posted by: Rick James
Date: December 30, 2009 12:08AM

Sounds like permission problems. I am not (yet) familiar with Windows 7, but maybe it is beginning to get a file-permission design similar to what Unix has had for nearly four decades. Let me explain how to fix it on Unix; see if you can adapt this to W7...

my.cnf (that's the Unix name for my.ini) lives in a directory (/etc) that mere mortals cannot modify things -- only 'root' can edit files there. The unix workaround involves 'sudo'; on Windows, you probably need to login as 'Administrator'.

All mysql files and directories are owned and readable and writable by the 'mysql' user. Or at least that is the way it should be. Sometimes an installation is messed up and the files/directories get owned by someone else (root or the user doing the installation). This can lead to problems executing. The solution usually involves "chown" to fix the ownership and checking that mysql can read/write its files/directories.

Options: ReplyQuote


Subject
Views
Written By
Posted
4627
December 16, 2009 01:23AM
2443
December 19, 2009 06:31PM
2544
December 21, 2009 02:46AM
8548
December 21, 2009 02:49AM
4104
December 21, 2009 08:04PM
4030
December 22, 2009 05:08AM
3775
December 22, 2009 08:35PM
3301
December 23, 2009 06:16AM
3024
December 23, 2009 09:52PM
2884
December 29, 2009 04:49AM
Re: Replication problem
2496
December 30, 2009 12:08AM
2618
January 13, 2010 07:21AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.