Detected 1 occurrence(s) of ‘create user .* identified by’: ).__init__(*args, **kwargs2) _mysql_exceptions.OperationalError: (2013, "Lost connection to MySQL server at 'reading initial communication packet', system error: 0") sudo vi /etc/mysql/my.cnf bind-address = 127.0.0.1 sudo reboot now mysql> create user guestos@192.168.56.2 identified by 'guestpw'; Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: def __init__(self): try: print "Connecting to the MySQL […]
↧