Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Fair enough, the reason I created the partition was to move Mysql's datadir which I have done but when I start it with mysqld I get
root@edge-aspire:/data# mysqld
100416 18:30:47 [Warning] Can't create test file /data/edge-aspire.lower-test
100416 18:30:47 [Warning] Can't create test file /data/edge-aspire.lower-test
100416 18:30:47 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
which I presume is another permissions issue but I have the permissions to mysql:mysql so it's possibly not?
root@server:/data# ls -lcd
drwxrwx--- 9 mysql mysql 4096 2010-04-16 18:34 .
root@server:/data# ls -lah
total 45G
drwxrwx--- 9 mysql mysql 4.0K 2010-04-16 18:34 .
drwxr-xr-x 27 root root 4.0K 2010-04-16 16:48 ..
drwxrwx--- 2 mysql mysql 4.0K 2010-04-16 17:07 database1
drwxrwx--- 2 mysql mysql 4.0K 2010-04-16 17:07 database2
drwxrwx--- 2 mysql mysql 4.0K 2010-04-16 17:07 database3
drwxrwx--- 2 mysql mysql 4.0K 2010-04-16 17:07 database5
drwxrwx--- 2 mysql mysql 4.0K 2010-04-16 17:07 database6
drwxrwx--- 2 mysql mysql 4.0K 2010-04-16 17:07 database7
-rwxrwx--- 1 mysql mysql 0 2010-04-16 17:07 debian-5.0.flag
-rwxrwx--- 1 mysql mysql 45G 2010-04-16 17:42 ibdata1
-rwxrwx--- 1 mysql mysql 5.0M 2010-04-16 17:42 ib_logfile0
-rwxrwx--- 1 mysql mysql 5.0M 2010-04-16 17:42 ib_logfile1
-rwxrwx--- 1 mysql mysql 52 2010-04-16 17:42 master.info
drwxrwx--- 2 mysql mysql 4.0K 2010-04-16 17:42 mysql
-rwxrwx--- 1 mysql mysql 148 2010-04-16 17:42 mysqld-relay-bin.000001
-rwxrwx--- 1 mysql mysql 148 2010-04-16 17:42 mysqld-relay-bin.000002
-rwxrwx--- 1 mysql mysql 148 2010-04-16 17:42 mysqld-relay-bin.000003
-rwxrwx--- 1 mysql mysql 148 2010-04-16 17:42 mysqld-relay-bin.000004
-rwxrwx--- 1 mysql mysql 2.3K 2010-04-16 17:42 mysqld-relay-bin.index
-rwxrwx--- 1 mysql mysql 7 2010-04-16 17:42 mysql_upgrade_info
-rwxrwx--- 1 mysql mysql 55 2010-04-16 17:42 relay-log.info
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.