Jump to content

phpmyadmin configuration problem - export to pdf


vmavrou

Recommended Posts

Hi, i'm trying to activate the export to pdf function but it seems that is not so easy

i have the following

    * Apache/2.0.63 (Win32) PHP/5.2.5

    * MySQL client version: 5.0.45

    * PHP extension: mysql

 

phpMyAdmin

 

    * Version information: 3.0.1.1

 

i executed first this file i have attached that comes with the phpmyadmin package

then i executed these :

 

GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'pmapass';

GRANT SELECT (

    Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,

    Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,

    File_priv, Grant_priv, References_priv, Index_priv, Alter_priv,

    Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv,

    Execute_priv, Repl_slave_priv, Repl_client_priv

    ) ON mysql.user TO 'pma'@'localhost';

GRANT SELECT ON mysql.db TO 'pma'@'localhost';

GRANT SELECT ON mysql.host TO 'pma'@'localhost';

GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv)

    ON mysql.tables_priv TO 'pma'@'localhost';

 

then this one :

GRANT SELECT, INSERT, UPDATE, DELETE ON phpmyadmin.* TO 'pma'@'localhost';

 

and then i inserted into config.inc the following :

$cfg['Servers'][$i]['controluser']  = 'pma';

$cfg['Servers'][$i]['controlpass']  = 'pmapass';

$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';

$cfg['Servers'][$i]['relation'] = 'pma_relation';

$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';

$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';

 

Am i doing something wrong?

Thanks in advance

 

[attachment deleted by admin]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.