Current time: 12-24-2024, 11:33 PM Hello There, Guest! (LoginRegister)


Thread Closed 
welche DB braucht PMA ?
Author Message
grex Offline
Junior Member
*

Posts: 156
Joined: Sep 2007
Reputation: 0
Post: #1
welche DB braucht PMA ?
Hallo, mir is gestern ein Fehler passiert.
Habe unabsichtlich den use PMA gelöscht ( der fürs phpmyadmin ).

Daher habe ich mich dann nicht mehr einloggen können, dann habe ich einfach den user root angeben, und das pw in die config reingeschrieben.

Alles gut, habe den PMA user wieder angelegt, nun wollte ich fragen, ob der auch bestimmte Rechte braucht?
Bracht er bestimmte? wenn ja, welche also Write,... und von welcher db ? mysql?


mfg
Grex
11-02-2007 06:31 PM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: welche DB braucht PMA ?
Code:
INSERT INTO `columns_priv` (`Host`, `Db`, `User`, `Table_name`, `Column_name`, `Timestamp`, `Column_priv`) VALUES
('localhost', 'mysql', 'pma', 'user', 'Host', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'User', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Select_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Insert_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Update_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Delete_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Create_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Drop_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Reload_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Shutdown_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Process_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'File_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Grant_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'References_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Index_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Alter_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Show_db_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Super_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Create_tmp_table_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Lock_tables_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Execute_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Repl_slave_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'user', 'Repl_client_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'tables_priv', 'Host', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'tables_priv', 'Db', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'tables_priv', 'User', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'tables_priv', 'Table_name', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'tables_priv', 'Table_priv', '2007-09-14 16:05:52', 'Select'),
('localhost', 'mysql', 'pma', 'tables_priv', 'Column_priv', '2007-09-14 16:05:52', 'Select');

Code:
INSERT INTO `tables_priv` (`Host`, `Db`, `User`, `Table_name`, `Grantor`, `Timestamp`, `Table_priv`, `Column_priv`) VALUES
('localhost', 'mysql', 'pma', 'user', 'root@localhost', '2007-09-14 16:05:52', '', 'Select'),
('localhost', 'mysql', 'pma', 'db', 'root@localhost', '2007-09-14 16:05:52', 'Select', ''),
('localhost', 'mysql', 'pma', 'host', 'root@localhost', '2007-09-14 16:05:52', 'Select', ''),
('localhost', 'mysql', 'pma', 'tables_priv', 'root@localhost', '2007-09-14 16:05:52', '', 'Select');
11-02-2007 06:42 PM
Visit this user's website Find all posts by this user
grex Offline
Junior Member
*

Posts: 156
Joined: Sep 2007
Reputation: 0
Post: #3
RE: welche DB braucht PMA ?
hö das ging ja schnell Wink , einfach in ne txt kopieren, dann .*sql unbennen und dann raufladen oder?


mfg
Grex
11-02-2007 07:07 PM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: welche DB braucht PMA ?
Kannst es auch direkt in den SQL-Bereich in PMA koopieren
"SQL-Befehl(e) in Datenbank mysql ausführen:"...

Datenbank mysql natürlich... :-)
11-02-2007 07:16 PM
Visit this user's website Find all posts by this user
grex Offline
Junior Member
*

Posts: 156
Joined: Sep 2007
Reputation: 0
Post: #5
RE: welche DB braucht PMA ?
jop danke vielamsl ne, ich werde es gleich ausprobieren.

EDIT: Blöde frage, gehören die Befehle in ispcp,mysql, oder wo gehören die den hin?
(This post was last modified: 11-02-2007 07:41 PM by grex.)
11-02-2007 07:39 PM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: welche DB braucht PMA ?
grex Wrote:jop danke vielamsl ne, ich werde es gleich ausprobieren.

EDIT: Blöde frage, gehören die Befehle in ispcp,mysql, oder wo gehören die den hin?


siehe voriges Post...

joximu Wrote:Datenbank mysql natürlich... :-)

Wer lesen kann ist klar im Vorteil :-) SCNR...
[Image: 24.gif]

/J
11-02-2007 08:12 PM
Visit this user's website Find all posts by this user
grex Offline
Junior Member
*

Posts: 156
Joined: Sep 2007
Reputation: 0
Post: #7
RE: welche DB braucht PMA ?
aso dachte den type ^^
ja wer lesen kann ^^ danke


EDI: Der erste "Absatz" war schon eingetragen oO
(This post was last modified: 11-02-2007 09:15 PM by grex.)
11-02-2007 09:11 PM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: welche DB braucht PMA ?
grex Wrote:aso dachte den type ^^

Ah, also genauer:

In die MySQL Datenbank `mysql`...
wäre das klarer?

grex Wrote:ja wer lesen kann ^^ danke

EDI: Der erste "Absatz" war schon eingetragen oO

na also...

danach noch ein permission flush bzw. rechte neu laden...

Gruss J
11-02-2007 09:32 PM
Visit this user's website Find all posts by this user
grex Offline
Junior Member
*

Posts: 156
Joined: Sep 2007
Reputation: 0
Post: #9
RE: welche DB braucht PMA ?
hehe ja danke Tongue
11-05-2007 07:25 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: welche DB braucht PMA ?
Bitte...
[Image: 77.png]
11-05-2007 07:27 AM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)