Unix Technical Forum

How to create database in different directory

This is a discussion on How to create database in different directory within the MySQL forums, part of the Database Server Software category; --> How do I create a database "foo", not under /var/lib/mysql but under /somewhere/else? I tried moving a database and ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 11:33 AM
Ignoramus13325
 
Posts: n/a
Default How to create database in different directory

How do I create a database "foo", not under /var/lib/mysql but under
/somewhere/else?

I tried moving a database and creating a symlink, but it did not work.

i
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 11:33 AM
Ignoramus13325
 
Posts: n/a
Default Re: How to create database in different directory

I think that my issue is not MySQL issue, but it is related to
AppArmor function that is new and is fsking me up.

Feb 23 16:00:44 orca kernel: [ 729.327977] audit(1203804044.321:8271): operation="inode_permission" request_mask="r::" denied_mask="r::" name="/fast/algebra_db/sessions.frm" pid=6363 profile="/usr/sbin/mysqld" namespace="default"
Feb 23 16:00:44 orca kernel: [ 729.329288] audit(1203804044.321:8272): operation="inode_permission" request_mask="r::" denied_mask="r::" name="/fast/algebra_db/sessions.frm" pid=6363 profile="/usr/sbin/mysqld" namespace="default"
Feb 23 16:00:44 orca kernel: [ 729.329306] audit(1203804044.321:8273): operation="inode_permission" request_mask="r::" denied_mask="r::" name="/fast/algebra_db/sessions.frm" pid=6363 profile="/usr/sbin/mysqld" namespace="default"

i

On 2008-02-23, Ignoramus13325 <ignoramus13325@NOSPAM.13325.invalid> wrote:
> How do I create a database "foo", not under /var/lib/mysql but under
> /somewhere/else?
>
> I tried moving a database and creating a symlink, but it did not work.
>
> i

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com