{"id":2408,"date":"2016-09-09T14:58:01","date_gmt":"2016-09-09T11:58:01","guid":{"rendered":"https:\/\/webmister.pro\/nastrojki-podklyucheniya-k-bd-v-razlichnyh-cms\/"},"modified":"2017-03-01T04:19:24","modified_gmt":"2017-03-01T01:19:24","slug":"nastrojki-podklyucheniya-k-bd-v-razlichnyh-cms","status":"publish","type":"post","link":"https:\/\/webmister.pro\/cz\/nastrojki-podklyucheniya-k-bd-v-razlichnyh-cms\/","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0411\u0414 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 CMS"},"content":{"rendered":"<div class=\"content-db\"><img class=\"alignnone size-full wp-image-2248\" src=\"https:\/\/webmister.pro\/wp-content\/uploads\/2016\/09\/bd.jpg\" alt=\"bd\" width=\"100%\" srcset=\"https:\/\/webmister.pro\/wp-content\/uploads\/2016\/09\/bd.jpg 1200w, https:\/\/webmister.pro\/wp-content\/uploads\/2016\/09\/bd-300x158.jpg 300w, https:\/\/webmister.pro\/wp-content\/uploads\/2016\/09\/bd-768x403.jpg 768w, https:\/\/webmister.pro\/wp-content\/uploads\/2016\/09\/bd-1024x538.jpg 1024w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/div>\n<div class=\"content-db\">\u0421\u0435\u0440\u0432\u0435\u0440, \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0438\u043c\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 &#8222;<strong>\u0425\u043e\u0441\u0442\u0438\u043d\u0433 &#8211; \u041b\u043e\u0433\u0438\u043d\u044b \u0438 \u043f\u0430\u0440\u043e\u043b\u0438<\/strong>&#8220; \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u043e\u043c.<br \/>\n\u0414\u043b\u044f \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0412\u0430\u0448\u0435\u0433\u043e \u0441\u0430\u0439\u0442\u0430, \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0439\u0442\u0438 \u043d\u0430 \u0444\u0442\u043f, \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u043b\u044e\u0431\u044b\u043c \u0444\u0442\u043f-\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 FileZilla Total Commander \u043b\u0438\u0431\u043e \u0444\u0430\u0439\u043b-\u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u043e\u043c.<br \/>\n\u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432 \u0441\u0430\u043c\u044b\u0445 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 CMS \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0441\u0430\u0439\u0442\u0430 \u043a \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445.\u0412 <strong>Joomla<\/strong>\u00a0\u0444\u0430\u0439\u043b <strong>configuration.php<\/strong>:<\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: yellow; font-weight: bold;\">var<\/span> <span style=\"color: #0000ff;\">$host<\/span> = <span style=\"color: #ff0000;\">&#8218;\u0441\u0435\u0440\u0432\u0435\u0440&#8216;<\/span>;<br \/>\n<span style=\"color: yellow; font-weight: bold;\">var<\/span> <span style=\"color: #0000ff;\">$user<\/span> = <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8216;<\/span>;<br \/>\n<span style=\"color: yellow; font-weight: bold;\">var<\/span> <span style=\"color: #0000ff;\">$db<\/span> = <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u0431\u0430\u0437\u044b_\u0434\u0430\u043d\u043d\u044b\u0445&#8216;<\/span>;<br \/>\n<span style=\"color: yellow; font-weight: bold;\">var<\/span> <span style=\"color: #0000ff;\">$password<\/span> = <span style=\"color: #ff0000;\">&#8218;\u043f\u0430\u0440\u043e\u043b\u044c&#8216;<\/span>;<\/div>\n<\/div>\n<p>\u0412 <strong>WordPress<\/strong>\u00a0\u0444\u0430\u0439\u043b <strong>wp-config.php<\/strong>:<\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_NAME&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u0431\u0430\u0437\u044b_\u0434\u0430\u043d\u043d\u044b\u0445&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_USER&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_HOST&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0441\u0435\u0440\u0432\u0435\u0440&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_PASSWORD&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u043f\u0430\u0440\u043e\u043b\u044c&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<\/div>\n<\/div>\n<p>\u0412 <strong>Drupal 6<\/strong>\u00a0\u0444\u0430\u0439\u043b\u00a0<strong>\/site\/default\/settings.php<\/strong>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0435\u0441\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0430:<\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">$db_url<\/span> = <span style=\"color: #ff0000;\">&#8218;mysql:\/\/username:password@mysqlhost\/databasename&#8216;<\/span>;<\/div>\n<\/div>\n<p>\u0413\u0434\u0435:<\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\">username &#8211; \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f;<br \/>\npassword &#8211; \u043f\u0430\u0440\u043e\u043b\u044c;<br \/>\nmysqlhost &#8211; \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445;<br \/>\ndatabasename &#8211; \u0438\u043c\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445.<\/div>\n<\/div>\n<p>\u0412\u00a0<strong>Drupal 7<\/strong>\u00a0\u0444\u0430\u0439\u043b\u00a0<strong>\/site\/default\/settings.php:<\/strong><\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #ff0000;\">&#8218;database&#8216;<\/span> =&gt; <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445&#8216;<\/span>,<br \/>\n<span style=\"color: #ff0000;\">&#8218;username&#8216;<\/span> =&gt; <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8216;<\/span>,<br \/>\n<span style=\"color: #ff0000;\">&#8218;password&#8216;<\/span> =&gt; <span style=\"color: #ff0000;\">&#8218;\u043f\u0430\u0440\u043e\u043b\u044c&#8216;<\/span>,<br \/>\n<span style=\"color: #ff0000;\">&#8218;host&#8216;<\/span> =&gt; <span style=\"color: #ff0000;\">&#8218;\u0441\u0435\u0440\u0432\u0435\u0440&#8216;<\/span>,<\/div>\n<\/div>\n<p>\u0412 <strong>DLE<\/strong>\u00a0\u0444\u0430\u0439\u043b\u00a0<strong>\/engine\/data\/dbconfig.php<\/strong>:<\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #55acee;\">define<\/span> <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8222;DBHOST&#8220;<\/span>, <span style=\"color: #ff0000;\">&#8222;\u0441\u0435\u0440\u0432\u0435\u0440&#8220;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span> <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8222;DBNAME&#8220;<\/span>, <span style=\"color: #ff0000;\">&#8222;\u0438\u043c\u044f_\u0431\u0430\u0437\u044b_\u0434\u0430\u043d\u043d\u044b\u0445&#8220;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span> <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8222;DBUSER&#8220;<\/span>, <span style=\"color: #ff0000;\">&#8222;\u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8220;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span> <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8222;DBPASS&#8220;<\/span>, <span style=\"color: #ff0000;\">&#8222;\u043f\u0430\u0440\u043e\u043b\u044c&#8220;<\/span><span style=\"color: #66cc66;\">)<\/span>;<\/div>\n<\/div>\n<p>\u0412 <strong>Shop-script<\/strong>\u00a0\u0444\u0430\u0439\u043b\u00a0<strong>\/cfg\/connect.inc.php<\/strong><\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_HOST&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0441\u0435\u0440\u0432\u0435\u0440&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_USER&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_PASS&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u043f\u0430\u0440\u043e\u043b\u044c&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_NAME&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u0431\u0430\u0437\u044b_\u0434\u0430\u043d\u043d\u044b\u0445&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<\/div>\n<\/div>\n<p>\u0412 <strong>ShopCMS<\/strong>\u00a0\u0444\u0430\u0439\u043b <strong>\/core\/config\/connect.inc.php<\/strong>: *<\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_HOST&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0441\u0435\u0440\u0432\u0435\u0440&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_USER&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_PASS&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u043f\u0430\u0440\u043e\u043b\u044c&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_NAME&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u0431\u0430\u0437\u044b_\u0434\u0430\u043d\u043d\u044b\u0445&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<\/div>\n<\/div>\n<p><span style=\"color: #696969;\"><span style=\"font-size: 12.222222328186px;\">*\u00a0<\/span><span style=\"font-size: 11px;\">\u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0430\u043a \u0436\u0435 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445\u00a0<strong>core\/cache\/afcache.php<\/strong>\u00a0\u0438\u00a0<strong>core\/cache\/fcache.php<\/strong>\u00a0 \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0444\u0430\u0439\u043b\u044b \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0435\u0441\u044f \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 core\/cache\/ \u00a0\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441 %% \u043d\u0443\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c.<\/span><\/span><br \/>\n\u0412 <strong>WebAsyst<\/strong>\u00a0\u0444\u0430\u0439\u043b\u044b\u00a0<strong>\/dblist\/\u043b\u043e\u0433\u0438\u043d.xml<\/strong>,\u00a0<strong>\/kernel\/wbs.xml<\/strong>\u00a0\u0438\u00a0\u0444\u0430\u0439\u043b \u043a\u0435\u0448\u0430 <strong>\/temp\/scdb\/.settings.\u043b\u043e\u0433\u0438\u043d<\/strong>:<\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\">SQLSERVER=<span style=\"color: #ff0000;\">&#8222;\u0441\u0435\u0440\u0432\u0435\u0440&#8220;<\/span><br \/>\nDB_NAME=<span style=\"color: #ff0000;\">&#8222;\u0438\u043c\u044f_\u0431\u0430\u0437\u044b_\u0434\u0430\u043d\u043d\u044b\u0445&#8220;<\/span><br \/>\nDB_PASSWORD=<span style=\"color: #ff0000;\">&#8222;\u043f\u0430\u0440\u043e\u043b\u044c&#8220;<\/span><br \/>\nDB_USER=<span style=\"color: #ff0000;\">&#8222;\u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8220;<\/span><\/div>\n<\/div>\n<p>\u0412 <strong>PrestaShop<\/strong>\u00a0\u0444\u0430\u0439\u043b <strong>\/config\/settings.inc.php<\/strong>:<\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;_DB_NAME_&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u0431\u0430\u0437\u044b_\u0434\u0430\u043d\u043d\u044b\u0445&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;_DB_SERVER_&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0441\u0435\u0440\u0432\u0435\u0440&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;_DB_USER_&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;_DB_PASSWD_&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u043f\u0430\u0440\u043e\u043b\u044c&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<\/div>\n<\/div>\n<div>\n<p>\u0412 <strong>MODx<\/strong>\u00a0\u0444\u0430\u0439\u043b <strong>\/manager\/includes\/config.inc.php<\/strong>:<\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">$database_server<\/span> = <span style=\"color: #ff0000;\">&#8218;\u0441\u0435\u0440\u0432\u0435\u0440&#8216;<\/span>;<br \/>\n<span style=\"color: #0000ff;\">$database_user<\/span> = <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8216;<\/span>;<br \/>\n<span style=\"color: #0000ff;\">$database_password<\/span> = <span style=\"color: #ff0000;\">&#8218;\u043f\u0430\u0440\u043e\u043b\u044c&#8216;<\/span>;<br \/>\n<span style=\"color: #0000ff;\">$dbase<\/span> = <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u0431\u0430\u0437\u044b_\u0434\u0430\u043d\u043d\u044b\u0445\u2019;<\/span><\/div>\n<\/div>\n<p>\u0412 <strong>Bitrix<\/strong>\u00a0\u0444\u0430\u0439\u043b <strong>\/bitrix\/php_interface\/dbconn.php<\/strong>:<\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">$DBHost<\/span> = <span style=\"color: #ff0000;\">&#8222;\u0441\u0435\u0440\u0432\u0435\u0440&#8220;<\/span>;<br \/>\n<span style=\"color: #0000ff;\">$DBLogin<\/span> = <span style=\"color: #ff0000;\">&#8222;\u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8220;<\/span>;<br \/>\n<span style=\"color: #0000ff;\">$DBPassword<\/span> = <span style=\"color: #ff0000;\">&#8222;\u043f\u0430\u0440\u043e\u043b\u044c&#8220;<\/span>;<br \/>\n<span style=\"color: #0000ff;\">$DBName<\/span> = <span style=\"color: #ff0000;\">&#8222;\u0438\u043c\u044f_\u0431\u0430\u0437\u044b_\u0434\u0430\u043d\u043d\u044b\u0445&#8220;<\/span>;<\/div>\n<\/div>\n<p>\u0412 <strong>CMS PHPShop<\/strong>\u00a0\u0444\u0430\u0439\u043b <strong>\/phpshop\/inc\/config.ini<\/strong>:<\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\">host = <span style=\"color: #ff0000;\">&#8222;\u0441\u0435\u0440\u0432\u0435\u0440&#8220;<\/span>;<br \/>\nuser_db = <span style=\"color: #ff0000;\">&#8222;\u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8220;<\/span>;<br \/>\npass_db = <span style=\"color: #ff0000;\">&#8222;\u043f\u0430\u0440\u043e\u043b\u044c&#8220;<\/span>;<br \/>\ndbase = <span style=\"color: #ff0000;\">&#8222;\u0438\u043c\u044f_\u0431\u0430\u0437\u044b_\u0434\u0430\u043d\u043d\u044b\u0445&#8220;<\/span>;<\/div>\n<\/div>\n<p>\u0412 <strong>\u0421MS Opencart<\/strong> \u0444\u0430\u0439\u043b\u044b\u00a0<span style=\"white-space: pre-wrap; line-height: 1.15; background-color: transparent;\"><strong>config.php<\/strong> \u0438 <strong>admin\/config.php<\/strong><\/span><\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_HOSTNAME&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0441\u0435\u0440\u0432\u0435\u0440&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_USERNAME&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_PASSWORD&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u043f\u0430\u0440\u043e\u043b\u044c&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<br \/>\n<span style=\"color: #55acee;\">define<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #ff0000;\">&#8218;DB_DATABASE&#8216;<\/span>, <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f_\u0431\u0430\u0437\u044b_\u0434\u0430\u043d\u043d\u044b\u0445&#8216;<\/span><span style=\"color: #66cc66;\">)<\/span>;<\/div>\n<\/div>\n<div>\n<div style=\"font-size: 12.222222328186px;\">\u0412\u00a0<strong>\u0421MS Magento<\/strong>\u00a0\u0444\u0430\u0439\u043b\u00a0<span style=\"white-space: pre-wrap; line-height: 1.15; background-color: transparent;\"><strong>app\/etc\/local.xml<\/strong> <\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\">&lt;host&gt;&lt;!<span style=\"color: #66cc66;\">[<\/span>CDATA<span style=\"color: #66cc66;\">[<\/span>\u0441\u0435\u0440\u0432\u0435\u0440<span style=\"color: #66cc66;\">]<\/span><span style=\"color: #66cc66;\">]<\/span>&gt;&lt;\/host&gt;<br \/>\n&lt;username&gt;&lt;!<span style=\"color: #66cc66;\">[<\/span>CDATA<span style=\"color: #66cc66;\">[<\/span>\u0438\u043c\u044f<span style=\"color: #55acee;\">_<\/span>\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<span style=\"color: #66cc66;\">]<\/span><span style=\"color: #66cc66;\">]<\/span>&gt;&lt;\/username&gt;<br \/>\n&lt;password&gt;&lt;!<span style=\"color: #66cc66;\">[<\/span>CDATA<span style=\"color: #66cc66;\">[<\/span>\u043f\u0430\u0440\u043e\u043b\u044c<span style=\"color: #66cc66;\">]<\/span><span style=\"color: #66cc66;\">]<\/span>&gt;&lt;\/password&gt;<br \/>\n&lt;dbname&gt;&lt;!<span style=\"color: #66cc66;\">[<\/span>CDATA<span style=\"color: #66cc66;\">[<\/span>\u0438\u043c\u044f<span style=\"color: #55acee;\">_<\/span>\u0431\u0430\u0437\u044b<span style=\"color: #55acee;\">_<\/span>\u0434\u0430\u043d\u043d\u044b\u0445<span style=\"color: #66cc66;\">]<\/span><span style=\"color: #66cc66;\">]<\/span>&gt;&lt;\/dbname&gt;<\/div>\n<\/div>\n<p>\u0412\u00a0<strong>ImageCMS\u00a0<\/strong>\u0444\u0430\u0439\u043b\u00a0<strong>application\/config\/database.php:<\/strong><\/p>\n<div class=\"php-code\">\n<div class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">$db<\/span><span style=\"color: #66cc66;\">[<\/span><span style=\"color: #ff0000;\">&#8218;default&#8216;<\/span><span style=\"color: #66cc66;\">]<\/span><span style=\"color: #66cc66;\">[<\/span><span style=\"color: #ff0000;\">&#8218;hostname&#8216;<\/span><span style=\"color: #66cc66;\">]<\/span> = <span style=\"color: #ff0000;\">&#8218;\u0441\u0435\u0440\u0432\u0435\u0440&#8216;<\/span>;<br \/>\n<span style=\"color: #0000ff;\">$db<\/span><span style=\"color: #66cc66;\">[<\/span><span style=\"color: #ff0000;\">&#8218;default&#8216;<\/span><span style=\"color: #66cc66;\">]<\/span><span style=\"color: #66cc66;\">[<\/span><span style=\"color: #ff0000;\">&#8218;username&#8216;<\/span><span style=\"color: #66cc66;\">]<\/span> = <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&#8216;<\/span>;<br \/>\n<span style=\"color: #0000ff;\">$db<\/span><span style=\"color: #66cc66;\">[<\/span><span style=\"color: #ff0000;\">&#8218;default&#8216;<\/span><span style=\"color: #66cc66;\">]<\/span><span style=\"color: #66cc66;\">[<\/span><span style=\"color: #ff0000;\">&#8218;password&#8216;<\/span><span style=\"color: #66cc66;\">]<\/span> = <span style=\"color: #ff0000;\">&#8218;\u043f\u0430\u0440\u043e\u043b\u044c&#8216;<\/span>;<br \/>\n<span style=\"color: #0000ff;\">$db<\/span><span style=\"color: #66cc66;\">[<\/span><span style=\"color: #ff0000;\">&#8218;default&#8216;<\/span><span style=\"color: #66cc66;\">]<\/span><span style=\"color: #66cc66;\">[<\/span><span style=\"color: #ff0000;\">&#8218;database&#8216;<\/span><span style=\"color: #66cc66;\">]<\/span> = <span style=\"color: #ff0000;\">&#8218;\u0438\u043c\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445&#8216;<\/span>;<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u0435\u0440\u0432\u0435\u0440, \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0438\u043c\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 &#8222;\u0425\u043e\u0441\u0442\u0438\u043d\u0433 &#8211; \u041b\u043e\u0433\u0438\u043d\u044b \u0438 \u043f\u0430\u0440\u043e\u043b\u0438&#8220; \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u043e\u043c. \u0414\u043b\u044f \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0412\u0430\u0448\u0435\u0433\u043e \u0441\u0430\u0439\u0442\u0430, \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0439\u0442\u0438 \u043d\u0430 \u0444\u0442\u043f, \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u043b\u044e\u0431\u044b\u043c \u0444\u0442\u043f-\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 FileZilla Total Commander \u043b\u0438\u0431\u043e \u0444\u0430\u0439\u043b-\u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u043e\u043c. \u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2248,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[39],"tags":[],"_links":{"self":[{"href":"https:\/\/webmister.pro\/cz\/wp-json\/wp\/v2\/posts\/2408"}],"collection":[{"href":"https:\/\/webmister.pro\/cz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webmister.pro\/cz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webmister.pro\/cz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webmister.pro\/cz\/wp-json\/wp\/v2\/comments?post=2408"}],"version-history":[{"count":0,"href":"https:\/\/webmister.pro\/cz\/wp-json\/wp\/v2\/posts\/2408\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webmister.pro\/cz\/wp-json\/wp\/v2\/media\/2248"}],"wp:attachment":[{"href":"https:\/\/webmister.pro\/cz\/wp-json\/wp\/v2\/media?parent=2408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webmister.pro\/cz\/wp-json\/wp\/v2\/categories?post=2408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webmister.pro\/cz\/wp-json\/wp\/v2\/tags?post=2408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}