What if you were to make a 3rd database, containing shared elements, such as your user 
table (I presume we're not talking the MySQL system user table....) and then have 
necessary permissions granted between your other database users to read that table 
jointly, as you can query cross databases...

> -----Original Message-----
> From: Moritz von Schweinitz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 11, 2003 9:26 AM
> To: [EMAIL PROTECTED]
> Subject: using (hard?) links for tables
> 
> 
> hi there!
> 
> i have two databases on the same server, and one of the 
> tables ('users') 
> should be the same in both databases. since this is very specific to 
> this one server, and other servers running similar databases 
> don't need 
> that functionality, i'm looking for the easiest way to do 
> this, so i was 
> wondering whether mysql is smart enough not to couse any 
> mayor mess if i 
> simply replace the users.* file in one of the datbase's  
> directory with 
> hardlinks to the other databses files for that table.
> 
> anyone know whether this works, and if not, what would be the easiest 
> way of keeping two tables in differnt databases synced? a 
> cronjob, maybe 
> (it's not THAT time-critiva).
> 
> thanks,
> 
> M.
> 
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    
http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to