We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Донастройка phpmyadmin
Донастройка phpmyadmin
Предлогаю из коробки донастраивать phpmyadmin а в частности создавать пользователя phpMyAdmin и добавлять его в настройки конфигов, в частности я про этот фаил:
и этот сектор кода:
А так же этому пользователю сразу импортировать таблицу:
Дабы в Vesta был олинклюзиф.
Code: Select all
http://c.vestacp.com/0.9.7/pma.conf
Code: Select all
/* User used to manipulate with storage */
// $cfg['Servers'][$i]['controluser'] = 'pma';
// $cfg['Servers'][$i]['controlpass'] = 'pmapass';
/* Storage database and tables */
// $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
// $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
// $cfg['Servers'][$i]['relation'] = 'pma_relation';
// $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
// $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
// $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
// $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
// $cfg['Servers'][$i]['history'] = 'pma_history';
// $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
// $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
// $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
Code: Select all
/usr/share/phpMyAdmin/examples/create-tables.sql
Re: Донастройка phpmyadmin
Честно говоря, я никогда не создавал дополнительную таблицу для pma. Какие преимущества это даст? Где можно почитать об этом?
Re: Донастройка phpmyadmin
Это из документации которая идет в комплекте
phpMyAdmin configuration storage
For a whole set of new features (bookmarks, comments, SQL-history, tracking mechanism, PDF-generation, column contents transformation, etc.) you need to create a set of special tables. Those tables can be located in your own database, or in a central database for a multi-user installation (this database would then be accessed by the controluser, so no other user should have rights to it).
Please look at your ./examples/ directory, where you should find a file called create_tables.sql. (If you are using a Windows server, pay special attention to FAQ 1.23).
If you already had this infrastructure and upgraded to MySQL 4.1.2 or newer, please use ./examples/upgrade_tables_mysql_4_1_2+.sql and then create new tables by importing ./examples/create_tables.sql.
You can use your phpMyAdmin to create the tables for you. Please be aware that you may need special (administrator) privileges to create the database and tables, and that the script may need some tuning, depending on the database name.
After having imported the ./examples/create_tables.sql file, you should specify the table names in your ./config.inc.php file. The directives used for that can be found in the Configuration section. You will also need to have a controluser with the proper rights to those tables (see section Using authentication modes below).
Re: Донастройка phpmyadmin
Можно поподробнее. Какой смысл Вы видите в данной донастройке?
Не очень понятно для чего это нужно
Не очень понятно для чего это нужно
Re: Донастройка phpmyadmin
В этой базе данных будут храниться персональные конфигурации PMA для каждого пользователя. Для ведения закладок, сохранения пользовательских запросов и отслеживание изменений.
Re: Донастройка phpmyadmin
Скрипт для автоматического исправления
viewtopic.php?f=32&t=10306
viewtopic.php?f=32&t=10306