[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"/en/kb/manual/mysqlKbData":3},{"page":4,"pages":64,"recommendedPages":65,"category":43,"categoryTree":43,"total":71,"currentOrder":94,"activeManualCategoryId":43,"tag":-1},{"route":5,"uuid":8,"title":9,"excerpt":10,"content":11,"view_count":12,"published_at":13,"modified_at":14,"like":15,"category":18,"hero_image":36,"seo_metadata":37,"schema_org_metadata":41,"open_graph_metadata":44,"sections":45,"tags":53,"breadcrumbs":54,"images":57},{"language":6,"path":7},"en","/kb/manual/mysql","e7426187-db6c-1179-8972-d19bb9bda76b","MySQL","In the section MySQL you can administer MySQL databases. The number of databases is not limited on any of the Virtual or VIP web-hosting tariffs.","\n\u003Cp>In the section \u003Ca rel=\"noreferrer noopener\" href=\"https://cp.beget.com/mysql\" target=\"_blank\">MySQL\u003C/a> you can administer MySQL databases. The number of databases is not limited on any of the \u003Cstrong>Virtual\u003C/strong> or \u003Cstrong>VIP\u003C/strong> web-hosting tariffs.\u003C/p>\n\n\n\n\u003Ch2 id=\"creating-database\">Creating database\u003C/h2>\n\n\n\n\u003Cp>To create a \u003Cstrong>MySQL\u003C/strong> database you need to define a \u003Cstrong>Database name\u003C/strong>, which consisting of (system login)_ (database name) indicated by you, for example \u003Cstrong>begetguide_example\u003C/strong>. Also you need to create a \u003Cstrong>Password\u003C/strong> for your connection. You can generate it clicking by \u003Cimg src=\"https://cp.beget.com/shared/FEwtkVGWKGiOvf74wgjbhX9leoXkxGni/wand.png\" class=\"wp-inline-image\">\u003C/p>\n\n\n\n\u003Cdiv class=\"wp-block-beget-image image-block\">\u003Cimg src=\"https://cp.beget.com/shared/lNMpDqHbCDhPItJY2vX5QTvOmdfK2Msr/mysql_1.png\" alt=\"MySQL hosting server\">\u003C/div>\n\n\n\n\u003Cp>By default the database access is created from the local machine (IP: \u003Cstrong>127.0.0.1\u003C/strong> or \u003Cstrong>localhost\u003C/strong>). You can also add a database access from a different IP. To do this press the button  \u003Cimg src=\"https://cp.beget.com/shared/2wpn6VnjLpqPaiD2xrgaHTPRvhDsJbgg/add.png\" class=\"wp-inline-image\">  next to the respective database. A suggestion to indicate a password for the new database access will then be displayed.\u003C/p>\n\n\n\n\u003Cdiv class=\"wp-block-beget-alert alert-block alert-block-info\">\u003Cdiv class=\"alert-block-title\">\u003Cstrong>Attention!\u003C/strong>\u003C/div>\u003Cdiv class=\"alert-block-content\">For access to DB from different IP you have to use \u003Cstrong>Host name\u003C/strong> from \u003Cstrong>Server for external connections\u003C/strong> in the \u003Cstrong>Connection parameters\u003C/strong>\u003C/div>\u003C/div>\n\n\n\n\u003Cdiv class=\"wp-block-beget-image image-block\">\u003Cimg src=\"https://cp.beget.com/shared/UBA50MJIU4eXw5bFpR__JQ-qJeMX6Zal/mysql_2.png\" alt=\"DB add IP\">\u003C/div>\n\n\n\n\u003Cp>Next to each database you will also find three further buttons:\u003C/p>\n\n\n\n\u003Cp>\u003Cimg src=\"https://cp.beget.com/shared/qVNNVys-J96JgZAE8vpR6cTzuL1g53JP/del.png\" class=\"wp-inline-image\">  -  delete database;\u003Cbr>\u003Cimg src=\"https://cp.beget.com/shared/gZAeB7aOmpSi0IwsYmvn_ciXquWcpXyJ/pma.png\" class=\"wp-inline-image\">  -  switch to phpMyAdmin, for work with MySQL databases. Upon clicking on it you will need to enter the database password. You need to allow popup windows in your web-browser to open phpMyAdmin;\u003Cbr>\u003Cimg src=\"https://cp.beget.com/shared/M9cB4844loUVYaoxrj64psDpZ1VSImDr/load.png\" class=\"wp-inline-image\">  -  view database load statistics. Clicking on this button you will open information about the load of this database.\u003C/p>\n\n\n\n\u003Cdiv class=\"wp-block-beget-image image-block\">\u003Cimg src=\"https://cp.beget.com/shared/rs574EEvOXs69xqNLocvAMViFu7Bzb8d/mysql_3.png\" alt=\"MySQL statistcs\">\u003C/div>\n\n\n\n\u003Cp>You will also find two buttons next to each access:\u003C/p>\n\n\n\n\u003Cp>\u003Cimg src=\"https://cp.beget.com/shared/letcvvO0e929WefCiGfd9Ux7Ae1edgR3/change-pass.png\" class=\"wp-inline-image\">  -  change password;\u003Cbr>\u003Cimg src=\"https://cp.beget.com/shared/qVNNVys-J96JgZAE8vpR6cTzuL1g53JP/del.png\" class=\"wp-inline-image\">  -  delete access.\u003C/p>\n\n\n\n\u003Ch2 id=\"connect-database-to-website\">Connect database to website\u003C/h2>\n\n\n\n\u003Cp>\u003Cstrong>Please note that the database user name is equal to the database name.\u003C/strong>\u003C/p>\n\n\n\n\u003Cp>To set up the connection to the database you mostly need to indicate the following settings:\u003C/p>\n\n\n\n\u003Cdiv class=\"wp-block-beget-code code-block\">\u003Cpre data-options=\"{&quot;mode&quot;:&quot;null&quot;}\">\u003Ccode>host = \"localhost\"\n\ndbname= \"system login_indicated database name\"\n\ndbuser= \"system login_indicated database name\"\n\ndbpasswd = password indicated during the creation\u003C/code>\u003C/pre>\u003C/div>\n\n\n\n\u003Cp>If you connect to the database from a remote host, you need to create an appropriate database access and indicate your server name as host in the connection, for example:\u003C/p>\n\n\n\n\u003Cdiv class=\"wp-block-beget-code code-block\">\u003Cpre data-options=\"{&quot;mode&quot;:&quot;&quot;}\">\u003Ccode>host = begetguide.beget.tech\u003C/code>\u003C/pre>\u003C/div>\n\n\n\n\u003Cp>You will find your server name on the main page of the \u003Ca rel=\"noreferrer noopener\" href=\"https://cp.beget.ru/\" target=\"_blank\">Control Panel\u003C/a> in the \u003Cstrong>\"Technical information\"\u003C/strong>, also you can find it at \u003Ca rel=\"noreferrer noopener\" href=\"https://cp.beget.com/mysql\" target=\"_blank\">MySQL\u003C/a> in the \u003Cstrong>\"Connection parameters\"\u003C/strong>.\u003C/p>\n\n\n\n\u003Cp>\u003C/p>\n",6746,"2020-08-14T17:29:43+03:00","2024-11-01T16:17:32+03:00",{"count":16,"liked":17},186,false,{"route":19,"title":21,"tags":22,"breadcrumbs":28,"uuid":29,"parent_uuid":30,"default_page_path":27,"seo_metadata":31},{"language":6,"path":20},"/kb/manual","Control Panel User's Manual",[23],{"id":24,"title":25,"seo_metadata":26},"vps","VPS",{"title":27,"description":27,"header":27,"keywords":27},"",[],"f0c2f94c-e052-98dd-4a62-0f9cb97d174e","d2ced092-cdd0-6732-3353-012a5065b6cc",{"title":32,"description":33,"header":34,"keywords":35},"Руководство по панели управления – Beget","Руководство по панели управления Beget. Инструкции по работе с аккаунтом, файловыми менеджерами, почтой, CMS и др.","Beget Hosting Panel Guide","hosting panel instructions, hosting beget",{"src":27,"text":27},{"title":38,"description":39,"keywords":40},"MySQL creation and administration in Beget hosting","How to administer MySQL databases? We tell you in Beget's blog","MySQL databases to create,  MySQL how much does it cost",{"faq":42,"how_to":43,"product":43},[],null,{},[46,50],{"level":47,"name":48,"anchor":49},1,"Creating database","creating-database",{"level":47,"name":51,"anchor":52},"Connect database to website","connect-database-to-website",[],[55],{"route":56,"title":21},{"language":6,"path":20},[58,60,62],{"src":59},"https://cp.beget.com/shared/lNMpDqHbCDhPItJY2vX5QTvOmdfK2Msr/mysql_1.png",{"src":61},"https://cp.beget.com/shared/UBA50MJIU4eXw5bFpR__JQ-qJeMX6Zal/mysql_2.png",{"src":63},"https://cp.beget.com/shared/rs574EEvOXs69xqNLocvAMViFu7Bzb8d/mysql_3.png",[],[66,76,85],{"route":67,"uuid":69,"title":70,"excerpt":27,"content":27,"view_count":71,"published_at":27,"modified_at":27,"like":43,"category":43,"hero_image":43,"seo_metadata":43,"schema_org_metadata":43,"open_graph_metadata":43,"sections":72,"tags":73,"breadcrumbs":74,"images":75},{"language":6,"path":68},"/kb/manual/service-administration","0dd8cc29-19c2-ae18-d2c8-881db6638ebd","Service administration",0,[],[],[],[],{"route":77,"uuid":79,"title":80,"excerpt":27,"content":27,"view_count":71,"published_at":27,"modified_at":27,"like":43,"category":43,"hero_image":43,"seo_metadata":43,"schema_org_metadata":43,"open_graph_metadata":43,"sections":81,"tags":82,"breadcrumbs":83,"images":84},{"language":6,"path":78},"/kb/manual/backup","fd3d3f31-ae17-66ff-c30b-741ced07e492","BackUp",[],[],[],[],{"route":86,"uuid":88,"title":89,"excerpt":27,"content":27,"view_count":71,"published_at":27,"modified_at":27,"like":43,"category":43,"hero_image":43,"seo_metadata":43,"schema_org_metadata":43,"open_graph_metadata":43,"sections":90,"tags":91,"breadcrumbs":92,"images":93},{"language":6,"path":87},"/kb/manual/cms","1092c8db-ff0d-ef86-eeae-b84b46893aad","CMS",[],[],[],[],"popularity-desc"]