Code: Select all
mysql> select IP_Addresses.ip_address from IP_Addresses, misc where misc.val=IP_Addresses.id and misc.param='def_ip_id';
------------------+
| ip_address |
+-----------------+
| 123.123.123.123 |
+-----------------+
1 row in set (0.00 sec)
mysql>
Default IP address is set during initial configuration. You should reconfigure Parallels Plesk Panel anew to change default IP address.
If Parallels Plesk Panel is configured parameter 'psa_configured' is set to 'true' in table psa.misc:
mysql> select * from misc where param='psa_configured';
+----------------+------+
| param | val |
+----------------+------+
| psa_configured | true |
+----------------+------+
1 row in set (0.00 sec)
mysql>
To perform initial configuration, change parameter 'psa_configured' to 'false':
mysql> update misc set val='false' where param='psa_configured';
Query OK, 1 row affected (0.01 sec)
Rows matched: 1 Changed: 1 Warnings: 0
Code: Select all
[root@hw006 ~]# vzctl enter 114
entered into Container 114
CT-114-bash-4.1# mysql -uadmin -p
Enter password:
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)