OpenSIPS / opensips-cli

OpenSIPS CLI tool - an interactive command line tool that can be used to control and monitor OpenSIPS servers.
GNU General Public License v3.0
84 stars 46 forks source link

create database(mysql) error #99

Closed EECNC closed 1 year ago

EECNC commented 1 year ago

hello,I have some trouble with create database.but i do not know what causes this problem. I successfully installed it following the documentation for opensips-cli (without using the configuration in .dep) But I installed opensips-mysql-moudle via apt (not sure if it's an issue here) OpenSIPS is installed according to Make MenuConfig and correctly configures the script in the /usr/local/sbin directory to generate OpenSIPS .cfg The above is my installation process, if there is something wrong I would like to point out, thanks

ubuntu is 20.04 Running: root@long-virtual-machine:/home/long/share# opensips-cli -f ~/.opensips-cli.cfg Welcome to OpenSIPS Command Line Interface! (opensips-cli): database -x create Password for admin MySQL user (root): INFO: creating access user for opensips ... ERROR: failed to create user 'opensips' ERROR: failed to create user on opensips DB

There is my opensips-cli.cfg: [default]

database_modules: acc clusterer dialog dialplan dispatcher domain rtpproxy usrloc

database_modules: ALL

database_admin_url: postgres://root@localhost

database_admin_url: mysql://root@localhost database_schema_path: /home/long/share/opensips-3.3.2/scripts/ plain_text_passwords: 1

EECNC commented 1 year ago

I find the problem in mysql ERROR 1819 (HY000): Your password does not satisfy the current policy requirements