• Su: authentication failure solution in Linux


    When installing Linux virtual machine with parallels on MAC recently, it is found that the default user is parallels. When you want to switch the root user, you will be prompted that authentication fails:su: Authentication failure, record the solution today. Screenshot of error reporting Reset root password Enter the terminal and enter the commandsudo passwd […]

  • CentOS 8.3 cannot log in to the management database after MySQL 8.0.21 is installed


    The solution steps are summarized as follows: 1) Edit the MySQL configuration file to allow login without password:  vim /etc/my.cnf  Add the following to the configuration file: [mysqld] bind-address= skip-grant-tables   2) Restart mysqld to make the configuration effective: systemctl restart mysqld    3) Enter the MySQL command line interactive mode, reset the permission and […]

  • The visualization scene realizes the function of sectioning box, which is simple and easy to use!


    Profiles are often seen in meteorology. The topographic section mainly studies the influence of landform on rainfall and air flow; Latitude altitude profile is mainly used to analyze some conditions of rainfall, such as deep wet layer, upper dry and lower wet, wind direction and speed, etc. In the digital twin visualization scene, the cut […]

  • Talk about the JDBC outputformat of flynk


    order This paper mainly studies the JDBC outputformat of flynk JDBCOutputFormat flink-jdbc_2.11-1.7.0-sources.jar!/org/apache/flink/api/java/io/jdbc/JDBCOutputFormat.java /** * OutputFormat to write Rows into a JDBC database. * The OutputFormat has to be configured using the supplied OutputFormatBuilder. * * @see Row * @see DriverManager */ public class JDBCOutputFormat extends RichOutputFormat<Row> { private static final long serialVersionUID = 1L; static […]

  • Problems with sudo


    1 sudo environment variable is reset describeThe software installed by root is always reported when it is executed with sudocommand not foundanalysisThe environment variable of sudo is different from that of rootsolveIn Env_ Add path field in keep vim /etc/sudoers Defaults    env_keep += “LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY PATH” #Comment out   secure_ path #Defaults    secure_path […]

  • HTML 5 Reset Stylesheet


    This CSS Reset is modified based on Eric Meyers’ CSS Reset, and the initialization style of the corresponding tag is adjusted for HTML5. /* html5doctor.com Reset Stylesheet v1.4 2009-07-27 Author: Richard Clark – http://richclarkdesign.com */ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, […]

  • MySQL FAQs


    reset password Close MySQL servicesudo /etc/init.d/mysql stopRun in MySQL safe mode and skip permission verificationsudo mysqld_safe –user=mysql –skip-grant-tables –skip-networking &Log in to MySQL as root with an empty passwordsudo mysql -u root mysqlUpdate passwordupdate user set Password = PASSWORD(‘root’) where User =’root’;update mysql.user set authentication_string=password(‘root’) where user=’root’ ;Refresh permissionsFLUSH PRIVILEGES;sign outquitThe password is too simple. […]

  • Take you to master the GIT commands commonly used in work with examples in 7 minutes


    Author: ValeriaTranslator: front end XiaozhiSource: medium Dream, dry goods, wechat search[move to the world]Pay attention to this dish washing wisdom who is still washing dishes in the early morning. This article GitHubhttps://github.com/qq449245884/xiaozhiIt has been included. There are complete test sites, materials and my series of articles for the interview of front-line large factories. In essence, […]

  • Vue project global custom modification of font style – only three steps


    Problem description In development projects, you can use your own fonts, such as Microsoft YaHei or Song typeface (Song typeface is ugly and not recommended); You can also download fonts to use. This article records how to modify the font in the project. Step description There will be reset style sheets (reset. CSS) in projects […]

  • How does Ubuntu reset the root password of MySQL


    The root password is required to create a new user, a new database and set access control in MySQL. If you forget the password, you can only reset the password. However, I still can’t reset the password for the results found on the Internet. I can only find the document myself and record the results […]