sql

Create a MySQL database and import an SQL file into it

Syntax

sql <Domain> <Database Name> <Database Username> <Database Password> <SQL File Name>

Examples

To create a "crm" database and import a "crm.sql" file into it
$ /go/sql gopanel.org crm myuser mypass crm.sql

Related GoPanel commands

installmariadb - Install or update MariaDB to the Latest Version
installsqlite - Installi the Latest SQLite Version on GoPanel Server
mysql - Create a MySQL Database
mysqlsync - Copy MySQL Databases from Local to Remote Server


At Your Service

Our team is on hand 24/7 to not only solve technical issues, but to offer the guidance and technical support you need to succeed online. Give us a ring.

+2 01006931666 Chat
© 2020 - 2025 GoPanel Inc., all rights reserved.