最新动态

今日:0  |  文章:1156
汇集全站版块最新文章
admin
小绿叶技术博客 Lv2 超级管理员

mysql-mariadb 事务存储过程

mariadb w3c教程mysql事务 w3c教程
 
数据库存储过程   2173   2021-01-05
admin
小绿叶技术博客 Lv2 超级管理员

mysql 数据库创建用户开放远程登录-禁用root远程权限---开放其它用户远程登录---数据库导入导出

mysql   禁用root远程权限---开放其它用户远程登录---数据库导入导出mysql -h 127.0.0.1 -P 3306 -uenchantment -peisc.cn   # linux 登录远程数据库指定端口命令                                &nb
/精华
mysql 数据库通用基础大全   3819   2021-01-03
admin
小绿叶技术博客 Lv2 超级管理员

开启 phpmyadmin 的远程登陆数据库

cd /www/wwwroot/phpmyadmin/ cp config.sample.inc.php config.inc.php # 只会识别这个配置文件: config.inc.php NR=`cat -n config.inc.php | grep Servers |grep host | grep -v "//" | awk -F" " '{print $1}'` ; echo $NR sed -i "$NR i \$cfg['AllowArbitraryServer'] = true; "
 
linux   1831   2020-12-30
admin
小绿叶技术博客 Lv2 超级管理员

linux centos oracle 数据库编rpm 安装shell脚本-完结

#!/bin/bashrepo="/etc/yum.repos.d/epel-7.repo"if [ ! -e $repo ]; then                     # -e 判断文件存在;参考:Shell if 条件判断文件或目录yum install -y wgetcd /etc/yum.repos.d/mkdir bakmv * bakwget http://mirrors.a
/置顶
shell   2863   2020-12-29
admin
小绿叶技术博客 Lv2 超级管理员

Oracle的存储过程基本写法

create [or replace] procedure 存储过程名(param1 in type,param2 out type)as   变量1 类型(值范围);   变量2 类型(值范围);begin   select count(*) into 变量1 from 表A where列名=param1;   if (判断条件) then        select 列名 into
 
数据库存储过程   2400   2020-12-23
admin
小绿叶技术博客 Lv2 超级管理员

数据库-php

<?php$dbhost = 'localhost';  // mysql服务器主机地址$dbuser = 'root';            // mysql用户名$dbpass = '123456';          // mysql用户名密码$conn = mysqli_connect($dbhost, $dbuser, $dbpass);if(! $co
 
数据库存储过程   2232   2020-12-21
admin
小绿叶技术博客 Lv2 超级管理员

linux centos 手动和自动搭建 ftp 创建虚拟用户 并使用 ftp 命令上传和下载文件

l #  手动搭建wget www.eisc.cn/file/shell/centos-yum.sh ; sh centos-yum.sh                                                  &
/精华/置顶
自动化运维linux   4412   2020-12-08
admin
小绿叶技术博客 Lv2 超级管理员

shell for if 循环中判断条件来执行命令

#!/bin/bash#备份所有 .pid 的文件为 .pid.backuppidback=(`find / -name "*.pid"`) # 定义一个小括号数组变量pidback  为 反引号里面的命令执行结果for i in ${pidback[*]} # for循环变量  i  是 数组变量里所有的元素,[*] 所有, [0] 第一个元素,默认从0 开始do 
 
shell   1415   2020-12-06
admin
小绿叶技术博客 Lv2 超级管理员

Linux centos下编译安装lnmp shell脚本 完整版

#!/bin/bashrepo="centos-yum.sh"if [ ! -e $repo ]; then                 # -e 判断文件存在;参考:Shell if 条件判断文件或目录yum install -y wgetwget www.eisc.cn/file/shell/centos-yum.sh ; sh centos-yum.shelseecho "yum已经切换"fi#######
/精华/置顶
自动化运维linux   3885   27  2020-12-03
admin
小绿叶技术博客 Lv2 超级管理员

linux centos mysql-mariadb10.5 shell一键安装脚本

#!/bin/bashrepo="centos-yum.sh"if [ ! -e $repo ]; then                 # -e 判断文件存在;参考:Shell if 条件判断文件或目录yum install -y wgetwget www.eisc.cn/file/shell/centos-yum.sh ; sh centos-yum.shelseecho "yum已经切换"fi#######
 
linux   1160   2020-12-03
头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息