Mysql users and configuration error

when create newsite , give this error

Traceback (most recent call last):
File “/usr/lib/python2.7/”, line 174, in _run_module_as_main
main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/”, line 72, in _run_code
exec code in run_globals
File “/opt/bench/erpnext/apps/frappe/frappe/utils/”, line 97, in
File “/opt/bench/erpnext/apps/frappe/frappe/utils/”, line 18, in main
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/”, line 722, in call
return self.main(*args, **kwargs)
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/”, line 697, in main
rv = self.invoke(ctx)
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/”, line 535, in invoke
return callback(*args, **kwargs)
File “/opt/bench/erpnext/apps/frappe/frappe/commands/”, line 34, in new_site
verbose=verbose, install_apps=install_app, source_sql=source_sql, force=force)
File “/opt/bench/erpnext/apps/frappe/frappe/commands/”, line 65, in _new_site
admin_password=admin_password, verbose=verbose, source_sql=source_sql,force=force, reinstall=reinstall)
File “/opt/bench/erpnext/apps/frappe/frappe/”, line 38, in install_db
create_database_and_user(force, verbose)
File “/opt/bench/erpnext/apps/frappe/frappe/”, line 62, in create_database_and_user
if force or (db_name not in dbman.get_database_list()):
File “/opt/bench/erpnext/apps/frappe/frappe/model/”, line 554, in get_database_list
return [d[0] for d in self.db.sql(“SHOW DATABASES”)]
File “/opt/bench/erpnext/apps/frappe/frappe/”, line 166, in sql
File “/opt/bench/erpnext/apps/frappe/frappe/”, line 116, in connect
charset=‘utf8mb4’, use_unicode = True, conv = conversions, local_infile = self.local_infile)
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 94, in Connect
return Connection(*args, **kwargs)
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 327, in init
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 598, in connect
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 852, in _request_authentication
auth_packet = self._read_packet()
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 683, in _read_packet
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 220, in check_error
File “/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/”, line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (1698, u"Access denied for user ‘root’@‘localhost’")

So i checked mysql users , i found only local root user

MariaDB [mysql]> SELECT User,Host FROM mysql.user;
   | User  |      Host   |
   | root  | localhost   |
    2 rows in set (0.00 sec)

Is it bad ??, and how to configure it as

   | User             | Host      |
   | root             | |
   | root             | ::1       |
   | debian-sys-maint | localhost |
   | root             | localhost |

Also checked

sudo nano /etc/mysql/my.cnf

# The MariaDB configuration file
# The MariaDB/MySQL tools read configuration files in the following order:
# 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
# 2. "/etc/mysql/conf.d/*.cnf" to set global options.
# 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
# 4. "~/.my.cnf" to set user-specific options.
# If the same option is defined multiple times, the last one will apply.
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.

#  This group is read both both by the client and the server
# use it for options that affect everything

# Import all .cnf files from configuration directory
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mariadb.conf.d/