📄 mysql_auth.conf
字号:
## mysql_auth.conf - an mysql authenticator config file# this is the default name. you can call this by other name,# but set up it in mysql_auth-source/src/define.h.## comment: first character in line is '#'# empty line (EOL at first) allowed## format of parameters and their values:# parameter - SPACE(S) and/or TAB(S) - value# # IMPORTANT: see the mysql_auth-source/scripts/create_script# this configuration file made by this script## by Ervin Hegedus, 2002, 2003# hostname## where is the mysql server - the server hostname or IP address;# first 'hostname' directive, and after space(s) or tab(s) its# value## default:hostname localhost# user## which user can connect to database# default:user squid# password## user's password for database, that store the accounts# default:password squid# database## mysql database name, where accounts places are# default:database mysql_auth# mysql socket## if mysqld doesn't use INET socket, you must to set this parameter# where is the location of mysqld socket; if mysqld use INET socket,# put NULL value# default:mysqld_socket /tmp/mysqld.sock# next three directives tells what will the select query,# like this:# SELECT * FROM table WHERE user_column LIKE "username" AND password_column LIKE "password"# where username and password comes from client in HTTP header,# and user_column and password_column is the columns name in table# this is an easy way to tune this program to your existing database# table## the table name, where accounts exist in user-password pair# default:table data# user_column## user column name in table# if you already have a database, what contains user-password# pair, you can set it hereuser_column user# password_column## password column name in table# like user column name abovepassword_column password# encrypt_password_form## passwords are stored in encrypted form,# using mysql internal 'password()' function# this mean, you just storing the passwords encrypted format,# Squid and clients doesn't use encrypt form!# The value is case insensitive (YES/yes or not one of these).# For backward compatibility, default is NO.encrypt_password_form NO
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -