MySQL Forums
Forum List  »  General

Re: errcode: 13 - permission denied when renaming a file
Posted by: Polly Nuth
Date: April 12, 2017 09:11AM

I don't believe this is related to Atlassian.

I am also getting the "Permission Denied" error when running "mysql_upgrade"

I am running the mysql_upgrade command at the Admin command prompt.



D:\Program Files\MySQL\MySQL Server 5.6\bin>mysql_upgrade -uroot -p --force
Enter password:
Looking for 'mysql.exe' as: D:\Program Files\MySQL\MySQL Server 5.6\bin\mysql.exe
Looking for 'mysqlcheck.exe' as: D:\Program Files\MySQL\MySQL Server 5.6\bin\mysqlcheck.exe
Running 'mysqlcheck with default connection arguments
Warning: Using a password on the command line interface can be insecure.
Running 'mysqlcheck with default connection arguments
Warning: Using a password on the command line interface can be insecure.
mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.general_log OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.host OK
mysql.innodb_index_stats OK
mysql.innodb_table_stats OK
mysql.ndb_binlog_index OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.servers OK
mysql.slave_master_info OK
mysql.slave_relay_log_info OK
mysql.slave_worker_info OK
mysql.slow_log OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
Running 'mysql_fix_privilege_tables'...
Warning: Using a password on the command line interface can be insecure.
ERROR 7 (HY000) at line 1820: Error on rename of '.\mysql\#sql-ad4_de5.frm' to '.\mysql\event.frm' (Errcode: 13 - Permission denied)
FATAL ERROR: Upgrade failed

D:\Program Files\MySQL\MySQL Server 5.6\bin>



I have given "Everyone" full control in the tmpdir, the "MySQL Server 5.6" directory, and the datadir.


What permissions am I missing?

Options: ReplyQuote




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.