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]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.