Content-Type: text/html
| ProgrammingError |
Python 3.14.4: /usr/bin/python3 Fri Sep 11 05:39:26 2026 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /usr/lib/cgi-bin/tropicalStorms.py in <module> |
| 11 sPwd = 'R0userP@ssword~' |
| 12 print ("Content-Type:text/html; charset=utf-8\n\n") |
| => 13 myCnxn = mysql.connector.connect(host=sHost, db=sDB, user=sUser, passwd=sPwd) |
| 14 env = '' |
| 15 resp = '' |
| myCnxn undefined, mysql = <module 'mysql' from '/usr/lib/python3/dist-packages/mysql/__init__.py'>, mysql.connector = <module 'mysql.connector' from '/usr/lib/python3/dist-packages/mysql/connector/__init__.py'>, mysql.connector.connect = <function connect>, host undefined, sHost = 'localhost', db undefined, sDB = 'tropStorm', user undefined, sUser = 'ROuser', passwd undefined, sPwd = 'R0userP@ssword~' |
| /usr/lib/python3/dist-packages/mysql/connector/pooling.py in connect(*args=(), **kwargs={'db': 'tropStorm', 'host': 'localhost', 'passwd': 'R0userP@ssword~', 'user': 'ROuser'}) |
| 321 if CMySQLConnection and not use_pure: |
| 322 return CMySQLConnection(*args, **kwargs) |
| => 323 return MySQLConnection(*args, **kwargs) |
| 324 |
| 325 |
| global MySQLConnection = <class 'mysql.connector.connection.MySQLConnection'>, args = (), kwargs = {'db': 'tropStorm', 'host': 'localhost', 'passwd': 'R0userP@ssword~', 'user': 'ROuser'} |
| /usr/lib/python3/dist-packages/mysql/connector/connection.py in __init__(self=<mysql.connector.connection.MySQLConnection object>, **kwargs={'db': 'tropStorm', 'host': 'localhost', 'passwd': 'R0userP@ssword~', 'user': 'ROuser'}) |
| 183 if kwargs: |
| 184 try: |
| => 185 self.connect(**kwargs) |
| 186 except Exception: |
| 187 # Tidy-up underlying socket on failure |
| self = <mysql.connector.connection.MySQLConnection object>, self.connect = <bound method MySQLConnectionAbstract.connect of...sql.connector.connection.MySQLConnection object>>, kwargs = {'db': 'tropStorm', 'host': 'localhost', 'passwd': 'R0userP@ssword~', 'user': 'ROuser'} |
| /usr/lib/python3/dist-packages/mysql/connector/abstracts.py in connect(self=<mysql.connector.connection.MySQLConnection object>, **kwargs={'db': 'tropStorm', 'host': 'localhost', 'passwd': 'R0userP@ssword~', 'user': 'ROuser'}) |
| 1602 |
| 1603 self.disconnect() |
| => 1604 self._open_connection() |
| 1605 |
| 1606 charset, collation = ( |
| self = <mysql.connector.connection.MySQLConnection object>, self._open_connection = <bound method MySQLConnection._open_connection o...sql.connector.connection.MySQLConnection object>> |
| /usr/lib/python3/dist-packages/mysql/connector/connection.py in _open_connection(self=<mysql.connector.connection.MySQLConnection object>) |
| 409 msg=err.msg, |
| 410 ) from err |
| => 411 raise err |
| 412 finally: |
| 413 # as the connection is established, set back the read |
| err undefined |
| /usr/lib/python3/dist-packages/mysql/connector/connection.py in _open_connection(self=<mysql.connector.connection.MySQLConnection object>) |
| 386 |
| 387 # start authentication negotiation |
| => 388 self._do_auth( |
| => 389 self._user, |
| => 390 self._password, |
| self = <mysql.connector.connection.MySQLConnection object>, self._do_auth = <bound method MySQLConnection._do_auth of <mysql.connector.connection.MySQLConnection object>>, self._user = 'ROuser', self._password = 'R0userP@ssword~', self._database = 'tropStorm', self._client_flags = 3910157, self._ssl = {}, self._conn_attrs = {'_client_license': 'GPL-2.0', '_client_name': 'mysql-connector-python', '_client_version': '9.5.0', '_os': 'Ubuntu-26.04', '_pid': '1473806', '_platform': 'x86_64', '_source_host': 'reenCloud'} |
| /usr/lib/python3/dist-packages/mysql/connector/connection.py in _do_auth(self=<mysql.connector.connection.MySQLConnection object>, username='ROuser', password='R0userP@ssword~', database='tropStorm', client_flags=3910157, ssl_options={}, conn_attrs={'_client_license': 'GPL-2.0', '_client_name': 'mysql-connector-python', '_client_version': '9.5.0', '_os': 'Ubuntu-26.04', '_pid': '1473806', '_platform': 'x86_64', '_source_host': 'reenCloud'}) |
| 318 ) |
| 319 |
| => 320 ok_pkt = self._authenticator.authenticate( |
| => 321 sock=self._socket, |
| => 322 handshake=self._handshake, |
| ok_pkt undefined, self = <mysql.connector.connection.MySQLConnection object>, self._authenticator = <mysql.connector.authentication.MySQLAuthenticator object>, self._authenticator.authenticate = <bound method MySQLAuthenticator.authenticate of...nector.authentication.MySQLAuthenticator object>>, sock undefined, self._socket = None, handshake undefined, self._handshake = None, username = 'ROuser', password1 undefined, password = 'R0userP@ssword~', password2 undefined, self._password2 = '', password3 undefined, self._password3 = '', database = 'tropStorm', charset undefined, self._charset_id = 255, client_flags = 3910157, auth_plugin undefined, self._auth_plugin = '', auth_plugin_class undefined, self._auth_plugin_class = None, conn_attrs = {'_client_license': 'GPL-2.0', '_client_name': 'mysql-connector-python', '_client_version': '9.5.0', '_os': 'Ubuntu-26.04', '_pid': '1473806', '_platform': 'x86_64', '_source_host': 'reenCloud'} |
| /usr/lib/python3/dist-packages/mysql/connector/authentication.py in authenticate(self=<mysql.connector.authentication.MySQLAuthenticator object>, sock=<mysql.connector.network.MySQLTCPSocket object>, handshake={'auth_data': b'HjZdic7%QLf=?aM?3~E{', 'auth_plugin': 'mysql_native_password', 'capabilities': 2181038078, 'charset': 45, 'protocol': 10, 'server_status': 2, 'server_threadid': 7209, 'server_version_original': '11.8.6-MariaDB-5ubuntu0.1 from Ubuntu'}, username='ROuser', password1='R0userP@ssword~', password2='', password3='', database='tropStorm', charset=255, client_flags=3910157, max_allowed_packet=1073741824, auth_plugin='', auth_plugin_class=None, conn_attrs={'_client_license': 'GPL-2.0', '_client_name': 'mysql-connector-python', '_client_version': '9.5.0', '_os': 'Ubuntu-26.04', '_pid': '1473806', '_platform': 'x86_64', '_source_host': 'reenCloud'}, is_change_user_request=False, read_timeout=None, write_timeout=None) |
| 379 pkt = bytes(sock.recv(read_timeout)) |
| 380 |
| => 381 ok_pkt = self._handle_server_response(sock, pkt) |
| 382 if ok_pkt is None: |
| 383 raise InterfaceError("Got a NULL ok_pkt") from None |
| ok_pkt undefined, self = <mysql.connector.authentication.MySQLAuthenticator object>, self._handle_server_response = <bound method MySQLAuthenticator._handle_server_...nector.authentication.MySQLAuthenticator object>>, sock = <mysql.connector.network.MySQLTCPSocket object>, pkt = b"J\x00\x00\x03\xff\x15\x04#28000Access denied for user 'ROuser'@'localhost' (using password: YES)" |
| /usr/lib/python3/dist-packages/mysql/connector/authentication.py in _handle_server_response(self=<mysql.connector.authentication.MySQLAuthenticator object>, sock=<mysql.connector.network.MySQLTCPSocket object>, pkt=b"J\x00\x00\x03\xff\x15\x04#28000Access denied for user 'ROuser'@'localhost' (using password: YES)") |
| 285 |
| 286 if pkt[4] == ERR_STATUS: |
| => 287 raise get_exception(pkt) |
| 288 |
| 289 return None |
| global get_exception = <function get_exception>, pkt = b"J\x00\x00\x03\xff\x15\x04#28000Access denied for user 'ROuser'@'localhost' (using password: YES)" |
ProgrammingError: 1045 (28000): Access denied for user 'ROuser'@'localhost' (using password: YES)
add_note =
<built-in method add_note of ProgrammingError object>
args =
(1045, "1045 (28000): Access denied for user 'ROuser'@'localhost' (using password: YES)", '28000')
errno =
1045
msg =
"Access denied for user 'ROuser'@'localhost' (using password: YES)"
sqlstate =
'28000'
with_traceback =
<built-in method with_traceback of ProgrammingError object>