Access denied for user 'root'@'localhost' (using password: YES)
注:本文涉及的是解压缩版的安装安装教程下载mysql地址是:dev/downloads/mysql/ 解压缩下载的文件修改ini文件(在解压缩后的mysql文件夹中)实际上修改的是my-default.ini文件 在文件中添加如下路径和地址 其中的data文件夹是没有的必须自己创建。
# These are commonly set, remove the # and set as required. #这个是mysql所在的文件夹 basedir =D:/ProgramFiles/mysql #这个是data文件夹所在的路径(如果没有必须自己创建) datadir =D:/ProgramFiles/mysql/data # port = ..... # server_id = ..... 配置环境变量在解压缩后,将mysql中的bin目录放到path的环境变量下在安装之前必须先对他进行初始化必须是管理员权限的cmd mysqld --initialize 请注意,这里使用的是两个--,而不是一个。
这个时候会在data文件夹下创建一大堆文件及文件夹,其中xxx.err(这个XXX多半是自己的主机名。
是主机名而不是用户名)文件中有root用户的密码。
使用root@localhost进行搜索,冒号后面的就是。
A temporary password is generated for root@localhost: k4%Bjt9*N58C安...注:本文涉及的是解压缩版的安装安装教程下载mysql地址是:dev/downloads/mysql/ 解压缩下载的文件修改ini文件(在解压缩后的mysql文件夹中)实际上修改的是my-default.ini文件 在文件中添加如下路径和地址 其中的data文件夹是没有的必须自己创建。
# These are commonly set, remove the # and set as required. #这个是mysql所在的文件夹 basedir =D:/ProgramFiles/mysql #这个是data文件夹所在的路径(如果没有必须自己创建) datadir =D:/ProgramFiles/mysql/data # port = ..... # server_id = ..... 配置环境变量在解压缩后,将mysql中的bin目录放到path的环境变量下在安装之前必须先对他进行初始化必须是管理员权限的cmd mysqld --initialize 请注意,这里使用的是两个--,而不是一个。
这个时候会在data文件夹下创建一大堆文件及文件夹,其中xxx.err(这个XXX多半是自己的主机名。
是主机名而不是用户名)文件中有root用户的密码。
使用root@localhost进行搜索,冒号后面的就是。
A temporary password is generated for root@localhost: k4%Bjt9*N58C安装mysqldcmd界面必须是管理员权限才行。
如果不是管理员权限会报Install/Remove of the Service Denied!错误! mysqld -install注意这里是mysqld,多了一个d的。
实际上在我们删除的时候使用的命令与之相反 mysqld -remove启动mysql的服务必须是管理员权限下的cmd非管理员权限会报系统错误5的错误。
net start mysql修改mysql中root用户的权限SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass'); 以上所述是小编给大家介绍的win10上如何安装mysql5.7.16(解压缩版),希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。
在此也非常感谢大家对脚本之家网站的支持!
linux 怎么安装mysql 5.7.18
Linux-Generic md5sum mysql-5.7.18-linux-glibc2.5-x86_64.tar.gz Linux环境检查1 关闭numa [root@node130 ~]# vim /boot/grub/grub.conf title Red Hat Enterprise Linux (2.6.32-358.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=UUID=cb7d8bdc-28a5-4dbd-b04a-3ad9ee3e6bba rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off [root@node130 ~]# numactl --hardware [root@node130 ~]#numactl --show2限制设置 /etc/security/limits.conf [root@node130 ~]# vim /etc/security/limits.conf * soft nofile 1024000* hard nofile 1024000* soft nproc unlimited* hard nproc unlimited* soft core unlimited* hard core unlimited* soft memlock unlimited* hard memlock unlimited3 Swap [root@node130 ~]# vim /etc/sysctl.conf vm.swappiness=0 sysctl -p 生效 [root@node130 ~]# sysctl -a|grep swap vm.swappiness = 06 selinux & iptables selinux:[root@node130 ~]# vim /etc/sysconfig/selinux SELINUX=disabled SELINUXTYPE=targeted [root@node130 ~]# getenforce Disabled setenforce 0 getenforce chkconfig --list|grep iptables chkconfig --del iptables [root@node130 ~]# chkconfig --list|grep iptables iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off [root@node130 ~]# chkconfig --del iptables [root@node130 ~]# chkconfig --list|grep iptables [root@node130 ~]# reboot1创建账户 [root@node130 home]# groupadd mysql [root@node130 home]# useradd -g mysql -d /user/local/mysql -s /sbin/nologin -M mysql [root@node130 home]# id mysql uid=505(mysql) gid=506(mysql) groups=506(mysql) [root@node130 home]# mkdir /opt/mysql [root@node130 mysql]# tar xvf mysql-5.7.18-linux-glibc2.5-x86_64.tar.gz [root@node130 ~]# cd /usr/local/ cd /user/local/ [root@node130 local]# ln -s /opt/mysql/mysql-5.7.18-linux-glibc2.5-x86_64 mysql [root@node130 local]# chown -R mysql:mysql mysql/ [root@node130 mysql]# echo "export PATH=$PATH:/usr/local/mysql/bin">>/etc/profile [root@node130 mysql]# source /etc/profile/data 是一个单独挂载的分区 [root@node130 mysql]# mkdir -p /data/mysql/mysql_3306/{data,logs,tmp} [root@node130 mysql_3306]# chown -R mysql:mysql /data/mysql/mysql_3306/ [root@node130 ~]# cp /opt/my.cnf /etc/ 初始化 [root@node130 mysql]# ./bin/mysqld --defaults-file=/etc/mysql3306.cnf --initialize [root@node130 mysql]# cat /data/mysql/mysql_3306/data/error.log |grep password2017-04-28T06:36:55.453219Z 1 [Note] A temporary password is generated for root@localhost: rFcPw 启动 [root@node130 mysql]# cp support-files/mysql.server /etc/init.d/mysql [root@node130 mysql]# /etc/init.d/mysql start Starting MySQL...................... SUCCESS!cp support-files/mysql.server /etc/init.d/mysql or [root@node130 ~]# /usr/local/mysql/bin/mysqld --defaults-file=/etc/my.cnf & [1] 2787 [root@node130 tmp]# mysql -S /tmp/mysql.sock -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 3 Server version: 5.7.18-log Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement."(unknown)@localhost:mysql.sock [(none)]>alter user user() identified by '123456'; Query OK, 0 rows affected (0.01 sec)"root@localhost:mysql.sock [(none)]>show databases;+--------------------+ | Database |+--------------------+ | information_schema | | mysql | | performance_schema | | sys |+--------------------+4 rows in set (0.09 sec)"root@localhost:mysql.sock [(none)]>exit Bye [root@node130 etc]# mysqladmin -S /tmp/mysql.sock -p shutdown Enter password:
win10系统,为什么mysql安装以后,用不了
MySql\:A temporary password is generated for root@localhost: =2v&i*7Nab0r 生成的初始密码为=2v&i*7Nab0r 执行mysql -uroot -p 输入上述的初始密码,就可以进入MySQL了 执行SET PASSWORD = PASSWORD('my-default.ini", 64-bit), ZIP Archive进行下载;mysql-5,希望对大家有所帮助:去掉源文件上述三行前面的# 4,我的为DESKTOP-KCIHHJT.err 搜索password关键字,变量值为:D:\.7; 注册表中查看ImagePath的值,我的为"Program Files\:mysqld install MySQL --defaults-file="D:\。
2.解压MySQL安装包到指定目录,我的目录为D;D:\Program Files\MySql\mysql-5.7.16-winx64,并复制一份my-default.ini文件备用。
3,然后就可以使用新密码登陆了:\Program Files\MySql\mysql-5.7.16-winx64\my-default;mysql-5.修改root默认密码 查找MySQL的初始密码,用记事本打开D:\Program Files\. 添加环境变量 新建系统变量MYSQL_HOME.7. 修改my-default.16-winx64 datadir = D;Services\MySQL 执行mysqld --initialize进行初始化(生成data目录) 执行net start MySQL 6;MySql\,就不修改了;D;Program Files\,其中包含了mysqld;mysql-5.16-winx64\.ini文件 basedir = D:\。
以上所述是小编给大家介绍的64位 win10系统安装绿色版mysql-5.7.16-winx64的教程;HKEY_LOCAL_MACHINE\SYSTEM\.16-winx64 修改系统变量Path:\Program Files\MySql\mysql-5.7.16-winx64\bin\mysqld" --defaults-file="Program Files\mysql-5.7;MySql\.7:\Program Files\MySql\mysql-5.7.16-winx64\data port = 3306 注意.16-winx64\bin目录下, 输入服务安装命令;MySql\MySql\mysql-5。
注册表位置为:\Program Files\,添加%MYSQL_HOME%\bin; 注意本文主要给大家介绍了64位 win10系统安装绿色版mysql-5/downloads/mysql/ 选择Windows (x86.7;CurrentControlSet\.ini" MySQL。
在此也非常感谢大家对脚本之家网站的支持:变量值之间应该用英文;分隔开 5. 注册windows系统服务 以管理员权限打开cmd,进入D:\data目录下的后缀为err的文件;123456'); 将密码修改为123456 使用exit退出MySQL,如果大家有任何疑问请给我留言,小编会及时回复大家的.16-winx64\,我的信息为 展开
英文地址怎么写
填写信息时用英文或拼音,你可以直接把要填写的姓名、地址、各种信息用拼音拼写出来再填写,正反顺序都可以,地址是给本地邮递员看的,让他看懂就可以收到支票或白金公司发过来的东西。
下面是填写的范例,希望对你有帮助: 有些用汉语可用拼音写,正反顺序都成。
省略省市,因为省市另有地方写。
地址填写范例201室--room 201 12号--No.12 2单元--unit 2 3号楼--building No.3 长安街--chang an street 南京路--nan jing road 长安公司--chang an gong si 宝山区--BaoShan District **酒店--** hotel **花园--** garden **大厦--** edifice 县:county 镇:town 市:city 省:province 宝山区示范新村37号403室 Room 403,No.37,SiFan Residential Quarter,BaoShan District 虹口区西康南路125弄34号201室 Room 201,No.34,Lane 125,XiKang Road(South),HongKou District473004河南省南阳市中州路42号 周旺财 Zhou Wangcai Room 42, Zhongzhou Road,Nanyang City, Henan Prov.China 473004434000湖北省荆州市红苑大酒店 周旺财 Zhou Wangcai Hongyuan Hotel, Jingzhou city, Hubei Prov. China 434000473000河南南阳市八一路 272号特钢公司 周旺财 Zhou Wangcai Special Steel Corp,No.272, BayiRoad,Nanyang City, Henan Prov. China 473000528400广东中山市东区亨达花园7栋702 周旺财 Zhou Wangcai Room 702, 7th Building, Hengda Garden, East District, Zhongshan, China 528400361012福建省厦门市莲花五村龙昌里34号601室 周旺财 Zhou Wangcai Room 601, No.34 Long Chang Li, Xiamen, Fujian, China 361012361004厦门公交总公司承诺办 周旺财 Mr. Zhou Wangcai Cheng Nuo Ban, Gong Jiao Zong Gong Si Xiamen, Fujian, China 361004266042山东省青岛市开平路53号国棉四厂二宿舍1号楼2单元204户甲 周旺财 Mr. Zhou Wangcai NO. 204, A, Building NO. 1, The 2nd Dormitory of the NO. 4 State-owned Textile Factory, 53 Kaiping Road, Qingdao, Shandong, China 266042 白金行动申请表中一些英文单词的具体说明(中英文对照) Select a user name: (自己选择2-20个之间无空格的字符) @goingplatinum.com 这将是你新的Platinum的Email地址。
Salutation: 称呼,Mr.是先生 First Name: 你的名,用拼音 Last Name: 你的姓,用拼音 Email Address: 你的Email地址,不同于XXX@goingplatinum.com 例bubba@aol. com Verify Email Address: 重填Email 你的Email地址 It is important that your email address is correct. We will send a temporary password to the email address that you enter and verify above. You will need this password to login to the Going Platinum Member"s Area and activate your account. 请注意: 这个Email地址很重要,他将接受GoingPlatinum给你的登录口令,你要用这个口令激活你的帐号。
Tell us where to send your checks 告诉我们你的地址以便我们寄支票给你 Street Address: 你的街地址,用英文 (或拼音) Address 2 : 你的街地址(2)。
可选项(可不填) City: 城市 State: 选N/A Province: 你的省份 optional可选项 Zip/Postal Code: 邮编 Country: 国家。
选china Telephone Number: #000000>电话, optional 可选项 In the event you forget your password: 用于忘记口令时取回口令 City of Birth: 出生地 Birthdate: 生日 月日年 Password Question: 提出一个问题,用于忘记口令时取回口令,很重要。
Password Answer: 回答上面的问题 一、寄达城市名的批译 我国城市有用英文等书写的,也有用汉语拼音书写的。
例如“北京”英文写为“Peking”,汉语拼音写为“Beijing”二者虽然都是用拉丁字母,但拼读方法不同,前者是以音标相拼,而后者则是用声母和韵母相拼的,批译时要注意识别,以免错译。
二、街道地址及单位名称的批译 常见有英文书写、汉语拼音书写、英文和汉语拼音混合书写三种。
1、英文书写的,例如Address:6 East Changan Avenue PeKing译为北京市东长安街6号;2、汉语拼音书写的,例如:105 niujie Beijing译为北京市牛街105号;3、英文、汉语拼音混合书写的,例如:NO.70 dong feng dong Rd.Guangzhou译为广州东风东路70号。
三、机关、企业等单位的批译 收件人为机关、企业等单位的,应先译收件人地址,再译单位名称。
批译方法为: 1、按中文语序书写的要顺译。
例如:SHANGHAI FOODSTUFFS IMP AND EXP CO.译为上海食品进出口公司; 2、以英文介词短语充当定语,一般位于被修饰的名词之后,译在该名词之前。
例如:Civil Aviation Administration Of China译为中国民航局; 3、机关、企业单位的分支机构一般用英文“branch”(分部、分公司等)表示。
例如:Beijing Electron Co. Ltd Xian branch译为北京电子有限公司西安分公司。
-------------------------------------------------------------------------------- 姓名方面 外国人习惯是名(Firstname)在前,姓(Lastname)在后。
若碰到让您一起填的,最好要注意一 下顺序,不过你要是填反了,也没关系。
中国银行收支票时是都承认的。
例如:刘刚,可写成...
英语翻译...
请使用Morgan Stanley Smith Benefit 来访问temporary并打印显示使用者姓名的页面(在你的欢迎信中找)这是你第一次登陆,将会被提示改变密码,请选择一个你能轻松记住的密码.在你改密码的同时,我们会将其记入系统中去.您的默认密码(改之前的密码)是972698.如果您未收到用户名,你的欢迎信件将会很快到达你手中.如果你有任何问题,清联系客户服务代表(在美国境内请拨打888-873-1194,否则请拨打210-677-3712,周一至周五8:00——20:00随时奉陪.
sam文件怎么破解
SAM 文件可以在该路径中找到 c:Windowssystem32config.由于操作系统锁住该文件而不能访问. 下面方法讨论如何通过SAM文件来获取服务器权限: (由于此技术可能涉及威胁大众网络安全,未给予翻译)Here are the steps involved to Hack the Window XP Administrator Password .Go to Start –> Run –> Type in CMD You will get a command prompt. Enter these commands the way it is given cd\ cd\ windows\system32 mkdir temphack copy logon.scr temphack\logon.scr copy cmd.exe temphack\cmd.exe del logon.scr rename cmd.exe logon.scr exit Wait its not over read the rest to find out how to Hack the Window XP Administrator PasswordA Brief explanation of what you are currently doing here isYour are nagivating to the windows system Directory where the system files are stored. Next your creating a temporary directory called mkdir. After which you are copying or backing up the logon.scr and cmd.exe files into the mkdir then you are deleting the logon.scr file and renaming cmd.exe file to logon.scr.So basically you are tell...SAM 文件可以在该路径中找到 c:Windowssystem32config.由于操作系统锁住该文件而不能访问. 下面方法讨论如何通过SAM文件来获取服务器权限: (由于此技术可能涉及威胁大众网络安全,未给予翻译)Here are the steps involved to Hack the Window XP Administrator Password .Go to Start –> Run –> Type in CMD You will get a command prompt. Enter these commands the way it is given cd\ cd\ windows\system32 mkdir temphack copy logon.scr temphack\logon.scr copy cmd.exe temphack\cmd.exe del logon.scr rename cmd.exe logon.scr exit Wait its not over read the rest to find out how to Hack the Window XP Administrator PasswordA Brief explanation of what you are currently doing here isYour are nagivating to the windows system Directory where the system files are stored. Next your creating a temporary directory called mkdir. After which you are copying or backing up the logon.scr and cmd.exe files into the mkdir then you are deleting the logon.scr file and renaming cmd.exe file to logon.scr.So basically you are telling windows is to backup the command program and the screen saver file. Then we edited the settings so when windows loads the screen saver, we will get an unprotected dos prompt without logging in. When this appears enter this commandnet user passwordExample: If the admin user name is clazh and you want change the password to pass Then type in the following commandnet user clazh passThis will chang the admin password to pass.Thats it you have sucessfully hacked the Window XP Administrator Password now you can Log in, using the hacked Window XP Administrator Password and do whatever you want to do.Here are the steps involved to De Hack or restore the Window XP Administrator Password to cover your tracks.Go to Start –> Run –> Type in CMD You will get a command prompt. Enter these commands the way it is given cd\ cd\ windows\system32\temphack copy logon.scr C:\windows\system32\logon.scr copy cmd.exe C:\windows\system32\cmd.exe exit Or simply go to C:\windows\system32\temphack and copy the contents of temphack back into system32 directory click Yes to overwrite the modified files.
Linux操作系统下Sudo命令的使用方法?
建议:在Linux系统下,右键打开终端后,可以输入"man sudo"或者"info sudo"查询,因为使用方法实在是太多,可以摘要如下,其他可以自己查看。
NAME sudo, sudoedit - execute a command as another userSYNOPSIS sudo -h | -K | -k | -L | -l | -V | -v sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value] {-i | -s | command} sudoedit [-S] [-p prompt] [-u username|#uid] file ...OPTIONS sudo accepts the following command line options: -b The -b (background) option tells sudo to run the given command in the background. Note that if you use the -b option you cannot use shell job control to manipulate the process. -E The -E (preserve environment) option will override the env_reset option in sudoers(5)). It is only available when either the matching command has the SETENV tag or the setenv option is set in sudoers(5). -e The -e (edit) option indicates that, instead of running a command, the user wishes to edit one or more files. In lieu of a command, the string "sudoedit" is used when consulting the sudoers file. If the user is authorized by sudoers the following steps are taken: 1. Temporary copies are made of the files to be edited with the owner set to the invoking user. 2. The editor specified by the VISUAL or EDITOR environment vari- ables is run to edit the temporary files. If neither VISUAL nor EDITOR are set, the program listed in the editor sudoers variable is used. 3. If they have been modified, the temporary files are copied back to their original location and the temporary versions are removed. If the specified file does not exist, it will be created. Note that unlike most commands run by sudo, the editor is run with the invoking user's environment unmodified. If, for some reason, sudo is unable to update a file with its edited version, the user will receive a warning and the edited copy will remain in a temporary file. -H The -H (HOME) option sets the HOME environment variable to the homedir of the target user (root by default) as specified in passwd(5). By default, sudo does not modify HOME (see set_home and always_set_home in sudoers(5)). -h The -h (help) option causes sudo to print a usage message and exit. -i The -i (simulate initial login) option runs the shell specified in the passwd(5) entry of the user that the command is being run as. The command name argument given to the shell begins with a '-' to tell the shell to run as a login shell. sudo attempts to change to that user's home directory before running the shell. It also ini- tializes the environment, leaving TERM unchanged, setting HOME, SHELL, USER, LOGNAME, and PATH, and unsetting all other environment variables. Note that because the shell to use is determined before the sudoers file is parsed, a runas_default setting in sudoers will specify the user to run the shell as but will not affect which shell is actually run. -K The -K (sure kill) option is like -k except that it removes the user's timestamp entirely. Like -k, this option does not require a password. -k The -k (kill) option to sudo invalidates the user's timestamp by setting the time on it to the Epoch. The next time sudo is run a password will be required. This option does not require a password and was added to allow a user to revoke sudo permissions from a .logout file. -L The -L (list defaults) option will list out the parameters that may be set in a Defaults line along with a short description for each. This option is useful in conjunction with grep(1). -l The -l (list) option will list out the allowed (and forbidden) com- mands for the invoking user on the current host. -P The -P (preserve group vector) option causes sudo to preserve the invoking user's group vector unaltered. By default, sudo will ini- tialize the group vector to the list of groups the target user is in. The real and effective group IDs, however, are still set to match the target user. -p The -p (prompt) option allows you to override the default password prompt and use a custom one. The following percent ('%') escapes are supported: %H expanded to the local hostname including the domain name (on if the machine's hostname is fully qualified or the fqdn sudoers option is set) %h expanded to the local hostname without the domain name %p expanded to the user whose password is being asked for (respects the rootpw, targetpw and runaspw flags in sudoers) %U expanded to the login name of the user the command will be run as (defaults to root) %u expanded to the invoking user's login name %% two consecutive % characters are collapsed into a single % character -S The -S (stdin) option causes sudo to read the password from the standard input instead of the terminal device. -s The -s (shell) option runs the shell ...
mysql
这些问题最好是去查PHP手册,这是我摘下来的:■oci_bind_array_by_name — Binds a PHP array to an Oracle PL/SQL array parameter ■oci_bind_by_name — 绑定一个 PHP 变量到一个 Oracle 位置标志符 ■oci_cancel — 取消从游标读取数据 ■oci_client_version — Returns the Oracle client library version ■oci_close — 关闭 Oracle 连接 ■OCI-Collection->append — Appends element to the collection ■OCI-Collection->assign — Assigns a value to the collection from another existing collection ■OCI-Collection->assignElem — Assigns a value to the element of the collection ■OCI-Collection->free — Frees the resources associated with the collection object ■OCI-Collection->getElem — Returns value of the element ■OCI-Collection->max — Returns the maximum number of elements in the collection ■OCI-Collection->size — Returns size of the collection ■OCI-Collection->trim — Trims elements from the end of the collection ■oci_commit — 提交未执行的事务处理 ■oci_connect — 建立一个到 Oracle 服务器的连接 ■oci_define_by_name — 在 SELECT 中使用 PHP 变量作为定义的步骤 ■oci_error — 返回上一个错误 ■oci_execute — 执行一条语句 ■oci_fetch_all — 获取结果数据的所有行到一个数组 ■oci_fetch_array — Returns the next row from a query as an associative or numeric array ■oci_fetch_assoc — Returns the next row from a query as an associative array ■oci_fetch_object — Returns the next row from a query as an object ■oci_fetch_row — Returns the next row from a query as a numeric array ■oci_fetch — Fetches the next row into result-buffer ■oci_field_is_null — 检查字段是否为 NULL ■oci_field_name — 返回字段名 ■oci_field_precision — 返回字段精度 ■oci_field_scale — 返回字段范围 ■oci_field_size — 返回字段大小 ■oci_field_type_raw — 返回字段的原始 Oracle 数据类型 ■oci_field_type — 返回字段的数据类型 ■oci_free_statement — 释放关联于语句或游标的所有资源 ■oci_internal_debug — 打开或关闭内部调试输出 ■OCI-Lob->append — Appends data from the large object to another large object ■OCI-Lob->close — Closes LOB descriptor ■oci_lob_copy — Copies large object ■OCI-Lob->eof — Tests for end-of-file on a large object's descriptor ■OCI-Lob->erase — Erases a specified portion of the internal LOB data ■OCI-Lob->export — Exports LOB's contents to a file ■OCI-Lob->flush — Flushes/writes buffer of the LOB to the server ■OCI-Lob->free — Frees resources associated with the LOB descriptor ■OCI-Lob->getBuffering — Returns current state of buffering for the large object ■OCI-Lob->import — Imports file data to the LOB ■oci_lob_is_equal — Compares two LOB/FILE locators for equality ■OCI-Lob->load — Returns large object's contents ■OCI-Lob->read — Reads part of the large object ■OCI-Lob->rewind — Moves the internal pointer to the beginning of the large object ■OCI-Lob->save — Saves data to the large object ■OCI-Lob->saveFile — 别名 oci_lob_import ■OCI-Lob->seek — Sets the internal pointer of the large object ■OCI-Lob->setBuffering — Changes current state of buffering for the large object ■OCI-Lob->size — Returns size of large object ■OCI-Lob->tell — Returns the current position of internal pointer of large object ■OCI-Lob->truncate — Truncates large object ■OCI-Lob->write — Writes data to the large object ■OCI-Lob->writeTemporary — Writes a temporary large object ■OCI-Lob->writeToFile — 别名 oci_lob_export ■oci_new_collection — 分配新的 collection 对象 ■oci_new_connect — 建定一个到 Oracle 服务器的新连接 ■oci_new_cursor — 分配并返回一个新的游标(语句句柄) ■oci_new_descriptor — 初始化一个新的空 LOB 或 FILE 描述符 ■oci_num_fields — 返回结果列的数目 ■oci_num_rows — 返回语句执行后受影响的行数 ■oci_parse — 配置 Oracle 语句预备执行 ■oci_password_change — 修改 Oracle 用户的密码 ■oci_pconnect — 使用一个持久连接连到 Oracle 数据库 ■oci_result — 返回所取得行中字段的值 ■oci_rollback — 回滚未提交的事务 ■oci_server_version — 返回服务器版本信息 ■oci_set_action — Sets the action name ■oci_set_client_identifier — Sets the client identifier ■oci_set_client_info — Sets the client information ■oci_set_edition — Sets the database edition ■oci_set_module_name — Sets the module name ■oci_set_prefetch — 设置预提取行数 ■oci_statement_type — 返回 OCI 语句的类型
Linux操作系统下Sudo命令的使用方法?
查看、修改或者执行某些命令需要root用户的权限,如果不想直接切换到root用户,就可以使用sudo命令。
sudo命令用于针对单个命令授予临时权限。
sudo仅在需要时授予用户权限,减少了用户因为错误执行命令损坏系统的可能性。
使用方法是在原有命令之前加上sudo+空格。
用法示例:以root用户的身份修改主机名为zhidao$ sudo hostname zhidao
转载请注明出处51数据库 » a temporary password
李二狗他爹