0
Good morning,
When I try to connect python to a database I get the following error
MySQLdb._exceptions.OperationalError: (1045, "Access denied for user 'k4os'@'localhost' (using password: YES)")
I’m testing directly on the linux terminal so I don’t need to assign a variable and such
the code is
import MySQLdb
MySQLdb.connect(user='k4os',passwd='#mypass#')
se alguem souber ajudar agradeço :)
vc summed up or is missing host name on your connection (and maybe db too)?
– Ricardo Pontual