Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49199

Shared tables between two SQL bases but with two different owners of databases?

$
0
0

Hi,

is it possible to make that?

For example:

$db_url = 'mysqli://user1:password@localhost/sqlbase1';
$db_prefix = array(
'default' => '',
'authmap' => 'shared_sqlbase2.',
'sessions'=> 'shared_sqlbase2.',
'users' => 'shared_sqlbase2.',
);

but shared_sqlbase2 has different owner and user1 has no privileges to shared_sqlbase2.

Is there any way to put user2 (with his password) who is owner of shared_sqlbase2 with full privileges?

Please help me..


Viewing all articles
Browse latest Browse all 49199

Trending Articles