Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-08, 00:26:04

Author Topic: How to add MySQL database via CLI for customer  (Read 1016 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
How to add MySQL database via CLI for customer
« on: 2013-10-05, 16:14:19 »
Is it possible Mustafa ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: How to add MySQL database via CLI for customer
« Reply #1 on: 2013-10-05, 16:39:46 »
Seems to be something like this, but what next ?

/script/add --parent=class=client --parent-name=admin --class=mysqldb
database_user_already_exists__: username:
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to add MySQL database via CLI for customer
« Reply #2 on: 2013-10-05, 16:43:48 »
I don't know about it.

Alternatively, you can learn how to add roundcube database inside lib.php file.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: How to add MySQL database via CLI for customer
« Reply #3 on: 2013-10-05, 17:15:28 »
/script/add --parent-class=client --parent-name=clientname --class=mysqldb --v-nname=databasename --v-dbpassword=databasepassword
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to add MySQL database via CLI for customer
« Reply #4 on: 2013-10-05, 18:35:20 »
Good job.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.035 seconds with 16 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM