Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Access Denied after upgrade to 5.0.15
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 29th October 16:49
schroeder aj
External User
 
Posts: 1
Default Access Denied after upgrade to 5.0.15



Markus,

I did what you said, which was consistent with the MySQL do***entation (and
the steps I had done previously) but instead of re-trying to fix permissions
that I tried before, I decided to do a mysqldump and get a backup copy of
the database and then re-install MySQL.

After a re-install, I restored the backup and everything (sans a few
permissions) came back without any problems.

I wonder what the upgrade could have done? Would some corruption be caused
if mysql was "replaced" while mysql was running?

AJ Schroeder
  Reply With Quote


  sponsored links


2 29th October 17:01
markus popp
External User
 
Posts: 1
Default Access Denied after upgrade to 5.0.15



Hi,

the grant tables (the tables in the mysql database) are read in the
following cases:

* when you start the server
* when you run a CREATE USER, DROP USER, GRANT or REVOKE command
* when you run a FLUSH PRIVILEGES command

If you replace the data files while the server is running (which is not
recommanded, however, it shouldn't make problems if you are the only user
and no one reads from the tables while you copy the data), the server
doesn't re-read the grant tables, so the old privileges should still be in
place, until one of the mentioned three actions happen.

Markus
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666