![]() ![]() ![]() Netstat -ntlp // View all current tcp ports You can display all ports and process services on the current server, and combine with grep to view a specific port and service situation n: Do not perform DNS polling, display IP (can speed up operation) p: display process identifier and program name, each socket/ Ports belong to a program. l: Only display listening sockets (so-called sockets are programs that enable applications to read, write, and send/receive communication protocols (protocol) and data) t: Indicates that the TCP port is displayed The parameters of the netstat command are described as follows: In the process of using Linux, you need to know which ports are currently open in the system, and to view the specific processes and users that open these ports, you can simply query through the netstat command How to check if port 3306 is open in linux Modify the password of the specified -u root er set password=password('new password') where User="phplamp" and Host="localhost" Delete the -u root FROM user WHERE User="phplamp" and Host="localhost" Ĥ. >grant all privileges on phplampDB.* to identified by '1234' ģ. Authorize the phplamp user to have all the permissions of the phplamp database. In my case, I log in as -u root create a database for the user (phplampDB) Log in to MYSQL (with ROOT permission). This creates a user named: phplamp and password: 1234. Mysql> insert into er(Host,User,Password) values("localhost","phplamp",password("1234")) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |