@GhostZ Спасибо!
Как подключиться к базе, модулем SQL на Phpmyadmin?
-
Добрый вечер товарищи! Хотел восользоваться модулем SQL , добавлять/брать данные из базы на phpmyadmin. Но никак не получается сделать этого. Как нужно добавлять урл или ip в настройки модуля, если база находится на хостинге, подскажите пожалуйста? В приложении оставлю данные для подключения к базе.
-
It is not possible to connect with provided info.
You have to know few things in order to make
remote connection >All IP addresses are blocked and must be added to
a list in order to access the server. So, before
connecting to MySQL from another computer,
the connecting computer must be enabled as an Access Host.So, you need to connect to your hosting provider
control panel first, and enable remote access,
define remote user and add your local IP or
IP range (IP of computer where BAS is running).Than you can connect to remote database.
And "hostname or IP" is not "http://u3.cishost.ru/myadmin/"
but your website name or IP (when you access database
from your site - hostname is "localhost" and it
is the only one access host enabled by default)In short go to your sites control panel
Dashboard > Databases >
Select desired database
Click on > Users
Click on > AdCreate new user and pass
CHECK THE "REMOTE ACCESS" CHECKBOX
Type IP of computer where BAS is running
Check permissions you want to give for that user
Click OK
Edit:
These instructions are for Russian ISPmanager control panel.
For Cpanel steps are a bit different, but basically the same. -
@dmitrii-a said in Как подключиться к базе, модулем SQL на Phpmyadmin?:
ISPmanager
там у Вас должен быть пункт базы данных
перейдите в него и там выберете и кажется в верхней панели инструментов должен быть пункт phpmyadmin
Вам может быть нужно выбрать какую созданную базу что б пункт phpmyadmin стал активен