All Questions

Tagged with
1
vote
1answer
97 views

Cron Daemon - LibClamAV errors

I have been receiving since a long time following mails: From: Cron Daemon <root@autisticstory.net> Subject: Cron <root@cloud-vps> test -x /usr/sbin/anacron || ( cd / && run-parts ...
1
vote
0answers
272 views

mysql after sudo su works; mysql or sudo mysql fails

I was visiting a mysql installation (don't know the details) [user@host ~]$ mysql -u kco -p Enter password: ERROR 1045 (28000): Access denied for user 'kco'@'localhost' (using password: YES) ...
1
vote
0answers
181 views

Changing MySQL Temporary File - Permissions Error

At the moment, MySQL Server is using /tmp as it's temporary directory, and I'd like to change that, because it's running into storage issues. Following this post: https://encylia.com/2015/02/06/how-...
1
vote
1answer
287 views

MySQL SystemD Logfile Permission Denied

I've installed MySQL 5.6 on a CentOS 7 server and I'm trying to change the error log location from the default /var/log/mysql.log to /var/log/mysqld.err. MySQL is running properly when I use the ...
0
votes
1answer
573 views

Ownership of /var/www/html [closed]

So I've searched this a lot and found conflicting answers. I would appreciate, for everyone's sake, if someone could come up with a fully reasoned and cited answer for how to set ownership / ...
3
votes
3answers
8k views

After fresh install of mysql-server, can't log in with `mysql root -u`

EDIT: I believe this is actually a duplicate of https://askubuntu.com/questions/766334/cant-login-as-mysql-user-root-from-normal-user-account-in-ubuntu-16-04 I used the top answer from that page and ...
1
vote
1answer
317 views

apparmor: mysql permissions--with no recent changes

UPDATE: I now know my issue was database corruption, but discerning it was somewhat tricky--apparmor appeared to be the cause for longer than it should've. I didn't note when first posting that even ...
8
votes
1answer
18k views

Permission denied writing to mysql log

I am just testing out a new Ubuntu (Vivid 15.04) install on Vagrant, and getting problems with mysql and logging to a custom location. In /var/log/syslog I get /usr/bin/mysqld_safe: cannot create /...
2
votes
0answers
1k views

MySQL read only error but permissions set and SELinux AFAICT correct

I am new to MySQL and Linux and because I had issues with an old MySQL version (5.1) I used mysqldump and installed MySQL 5.6. I changed the datadir location by copying everything to the new folder ...
0
votes
1answer
994 views

Mysql Database files read access

Right now I'm trying to set read access to the files of one of my databases. I'm using debian with basic mysql installation so the database location is /var/lib/mysql. I want /var/lib/mysql/...
-1
votes
1answer
895 views

Why sudo ./bin/mysqld_safe & on Mac OS X 10.6.8 doesn't ask for password?

I get the following permissions from terminal: $ cd /usr/local/mysql $ ls -l drwxr-xr-x 41 root wheel 1394 29 Apr 00:55 bin drwxr-xr-x 4 root wheel 136 29 Apr 00:55 docs drwxr-...
2
votes
2answers
120 views

Why does the root user have control over mysql directories but not show as a member of the mysql group?

It seems somewhat similar to the question here but I think what I'm asking is a little different. I've got a CentOS 5.x box running with mysql on it. The root linux user can edit/modify files in /...
0
votes
1answer
8k views

MySql not accessible by root user

I have a local MySql server. It is started as I can access it with my local user like $ mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 66 Server version: ...
1
vote
1answer
3k views

How to fix this mysql permission problem?

I'm trying to get rails dbconsole to work (Rails 3.2.6). The problem is that when I run the command, I get: gems/railties-3.2.6/lib/rails/commands/dbconsole.rb:81:in `exec': Permission denied - /usr/...
1
vote
2answers
7k views

MySql: LOAD DATA INFILE

I am using MySQL v5.1 on Ubuntu machine. MySQL data directory is /var/lib/mysql/ I have a test.dat file located on /var/lib/mysql/tmp/test.dat I would like to load data from the test.dat file into ...
5
votes
4answers
3k views

Selinux is denying access to mysqld

I have a script that dumps a mysql database. It then compresses the file and this gets stored in my home folder by using cron. The problem is I seem to be getting an error message. mysqldump: ...