一、查看端口号
1、登录mysql
[rootlocalhost ~]# mysql -uroot -p Enter password: 输入数据库密码;
2、使用show global variables like port; 命令查看端口号,
3307即为当前端口号。
二、修改mysql端口号
1、编辑/etc/my.cnf文件
[rootlocalhost ~]# vi /…
1.登录mysql
mysql -u root -p 2.查看当前端口号
show global variables like port; 3.修改端口
vim /etc/my.cnf 4. 增加或修改端口参数,然后保存退出
port3308 5.重启mysql
service mysqld restart 6.查看mysql状态
systemctl status mysqld 7.阿里云上安全…
mysql默认端口号 MySQL is very popular database in the opensource community. While developing applications or connecting MySQL database we need to specify the MySQL port implicitly or explicitly. In this tutorial we will learn MySQL default port number and …
做国赛的题需要实现数字k进制之间的转换(2<k<36)上网搜了实现的方法: 博客的地址:就是这里!
public class BinaryTest {//设置字符数组//可以添加任意不重复字符,提高能转换的进制的上限static char…
十进制数转换成二进制
import java.util.Scanner;
public class Textwile { public static void main(String[] args) { Scanner scanner new Scanner(System.in); System.out.println(“请输入一个十进制的整数:”); int num scanner.nextInt(); String nums …