File manager - Edit - /usr/local/cpanel/bin/setupdbmap
Back
#!/usr/local/cpanel/3rdparty/bin/perl # cpanel - bin/setupdbmap Copyright 2022 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited use strict; use warnings; use Cpanel::DB::Map::Setup (); # Ensure database directory exists Cpanel::DB::Map::Setup::initialize(); __DATA__ =encoding utf-8 =head1 NAME bin/setupdbmap - create directory for DB mapping =head2 DESCRIPTION B<setupdbmap> initializes the directory for DB map files (i.e., mapping databases to their owners). Prior to cPanel & WHM 11.44 this script also created the mapping files based on database names; e.g., "frank_mydata" would be interpreted as "frank"’s database. Since 11.44 removes any connection between a database's name and its owner's name, all that is left for this script to do is to ensure that the directory for the mapping files exists.
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings