Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Server Platforms
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Server Platforms
Discussion regarding any server based ubuntu release.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old June 12th, 2006   #1
bohboh
Gee! These Aren't Roasted!
 
bohboh's Avatar
 
Join Date: Jun 2006
Location: Leicester, UK
Beans: 213
Ubuntu 6.06
Alternate mysql datadir

I have a fat32 partition which stores all my work files, i mount it with read and write permissions for the current user, me and not root. This works ok and i can read and write my files.

The problem is that my mysql data directory is also there and when it mounts it, it needs it to be mounted as mysql:mysql and not the current user.

So my question is, can i mount directories within drives. I have tried creating a symbolic link to the directory

e.g. mysql -> /windows/share/mysql

but it gets created as root , not mysql and i cant change it, doing a

sudo chown mysql:mysql ./mysql returns a not allowed error.

How do i change the mysql datadir to point to the windows share? Its all to do with permissions which i cant seem to change.
bohboh is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:37 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry