MySQL远程访问 1.编辑mysql配置文件,把其中bind-address = 127.0.0.1注释了 vi /etc/mysql/mysql.conf.d/mysqld.cnf 2.使用root进入mysql命令行,执行如下2个命令,示例中mysql的root账号密码:root grant all on *.* to root@'%' identified by 'root' with grant option; flush privileges; 3.重启mysql /etc/init
ll 是 ls -l的别名,之所以 ll出现错误是因为没有定义别名. 如果要实现ll 命令,可以做如下操作: 1.编辑 ~./bashrc 添加 ls -l 的别名为 ll即可. vi /root/.bashrc 2.编辑文件内容: # 设置 rm cp mv ll 命令的别名(就是windows中的快捷方式) alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' alias ll='ls -l' # Source global definitio
Problem E: Graphical Editor Time Limit: 1 Sec Memory Limit: 64 MBSubmit: 2 Solved: 2[Submit][Status][Web Board] Description Graphical editors such as Photoshop allow us to alter bit-mapped images in the same way that text editors allow us to modify