[OpenSIPS-Users] problem with git branch for opensips 3.0

johan de clercq johan at democon.be
Wed Jun 12 15:55:46 EDT 2019


It seems that database migrate x y has a problem when x has special characters. 

 

mysql -h 10.0.0.0 -u opensips3_x -p

Enter password: 

Welcome to the MariaDB monitor.  Commands end with ; or \g.

Your MySQL connection id is 34042687

Server version: 5.6.36-82.0-56 Percona XtraDB Cluster (GPL), Release rel82.0, Revision de7a681, WSREP version 26.20, wsrep_26.20

 

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

 

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

 

MySQL [(none)]> show databases;

+--------------------+

| Database           |

+--------------------+

| information_schema |

| opensips3_x   |

+--------------------+

2 rows in set (0.01 sec)

 

When I do this in opensips-cli : 

(opensips-cli): database migrate "opensips3_x" "opensips_x_3_0"

Please provide the URL of the database: mysql://opensips3_x:xxxxxxx@10.0.0.0/

ERROR: the source database (opensips3_dust) does not exist!

 

Can you please correct ?

 

From: Bogdan-Andrei Iancu <bogdan at opensips.org> 
Sent: Wednesday, June 12, 2019 11:06 AM
To: Johan De Clercq <Johan at democon.be>
Cc: OpenSIPS users mailling list <users at lists.opensips.org>; Liviu Chircu <liviu at opensips.org>
Subject: Re: [OpenSIPS-Users] problem with git branch for opensips 3.0

 

You are right, the doc is missing the "migrate" part. Liviu will update the docs there.

Thanks for the note !

Regards,



Bogdan-Andrei Iancu
 
OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 06/12/2019 11:29 AM, Johan De Clercq wrote:

Looking here https://github.com/OpenSIPS/opensips-cli/blob/master/docs/modules/database.md, 

I can't find back how to migrate a 24 db to 30.   Can you have a look ?

 

Thanks. 

 

Op wo 12 jun. 2019 om 10:26 schreef Bogdan-Andrei Iancu <bogdan at opensips.org <mailto:bogdan at opensips.org> >:

Hi Johan,

The git contains good docs for the cli tool - if there is something you find as uncovered, please let us know.

Regards,



Bogdan-Andrei Iancu
 
OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 06/12/2019 10:31 AM, Johan De Clercq wrote:

Okay. 

So is there somewhere good documentation on this? In exact, how do I configure this, and how do I migrate 24 dB to opensips 30? 

 

On Wed, 12 Jun 2019, 09:25 vasilevalex, <alexei.vasilyev at gmail.com <mailto:alexei.vasilyev at gmail.com> > wrote:

Hi, Johan.

Everything ok with git.
Just check this commit: 8a7abc05195fb4a29d5439871d7691c090c60d32
(https://github.com/OpenSIPS/opensips/commit/8a7abc05195fb4a29d5439871d7691c090c60d32)




-----
---
Alexey Vasilyev
--
Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html

_______________________________________________
Users mailing list
Users at lists.opensips.org <mailto:Users at lists.opensips.org> 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users





_______________________________________________
Users mailing list
Users at lists.opensips.org <mailto:Users at lists.opensips.org> 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190612/af5399ca/attachment.html>


More information about the Users mailing list