Files
CyberPanel/install-cn/mysqlUtilities.pyc

27 lines
3.5 KiB
Plaintext
Raw Normal View History

<03>
<20><>Yc@s/ddlZddlZddd<00><00>YZdS(i<><69><EFBFBD><EFBFBD>NtmysqlUtilitiescBs5eZed<00><00>Zed<00><00>Zed<00><00>ZRS(cCs,y<>d}tjd|d<17>}|j|<00>|j|<00>ddg}|j|<00>}|dkredS|jd|d <17>d
}|j|<00>d }|j|<00>|j|<00>|jd <00>|j<00>d SWn\tjk
r<>}tjjt |<00>d<17>n-t
k
r'}tjjt |<00>d<17>nXdS(NsEnter password:s mysql -u s -psAccess denied for usersWelcome to the MariaDB monitorisWrong PasswordsUSE t;sDatabase changedsQuery OKtexitis Exception EOF [SendQuery]s [SendQuery]( tpexpecttspawntexpecttsendlinetwaittEOFtloggingt
InstallLogt writeToFiletstrt BaseException(tusertpasswordtdbnametqueryt expectationt securemysqltindextmsg((s4/home/usman/Backup/CyberCP/install/mysqlUtilities.pyt SendQuerys,        
cCs<>yUd}tjd<00>}|j|<00>|j|<00>ddg}|j|<00>}|dkr]dS|jd|d<17>d d
g}|j|<00>}|dkr<>d S|d krP|jd |d|d<17>dd
g}|j|<00>}|dkr|jd|d<17>dS|jd|d|d<17>d
}|j|<00>|jd<00>|j<00>nd SWn\tjk
r<>}tjjt |<00>d<17>n-t
k
r<>}tjjt |<00>d<17>nXdS(NsEnter password:smysql -u root -psAccess denied for usersWelcome to the MariaDB monitorisWrong root PasswordsCREATE DATABASE Rsdatabase existssQuery OKs9This database already exists, please choose another name.is CREATE USER 's'@'localhost' IDENTIFIED BY 's';sCREATE USER failedsDROP DATABASE IF EXISTS s5This user already exists, please choose another user.sGRANT ALL PRIVILEGES ON s.* TO 's'@'localhost';Rs Exception EOF [createDatabase]s[createDatabase]( RRRRRRR R
R R R (RRtdbusert
dbpasswordRRRR((s4/home/usman/Backup/CyberCP/install/mysqlUtilities.pytcreateDatabase's>            cCsTy<>d}tjd<00>}|j|<00>|j|<00>ddg}|j|<00>}|dkr]dS|jd|d<17>d tjg}|j|<00>}|dkr<>|jd
|d <17>|j<00>d S|jd
|d <17>|j<00>d SWnjtjk
r}tjjt |<00>d <17>t |<00>St
k
rO}tjjt |<00>d<17>t |<00>SXdS(NsEnter password:smysql -u root -psAccess denied for usersWelcome to the MariaDB monitorisWrong root PasswordsDROP DATABASE IF EXISTS RsQuery OKs DROP USER 's'@'localhost';is Exception EOF [deleteDatabase]s[createDatabase]( RRRRRtcloseR R
R R R (RRRRRRR((s4/home/usman/Backup/CyberCP/install/mysqlUtilities.pytdeleteDatabaseTs2     


(t__name__t
__module__t staticmethodRRR(((s4/home/usman/Backup/CyberCP/install/mysqlUtilities.pyRs -((Rt
installLogR R(((s4/home/usman/Backup/CyberCP/install/mysqlUtilities.pyt<module>s