Day: February 20, 2019

命令行添加mysql用户, 命令行添加新phpmyadmin登录, Access denied for user ‘test’@’localhost’ (using password: YES) except root user, Your password does not satisfy the current policy requirements

  进入 mysql sudo mysql   创建用户: mysql> CREATE USER 'ikeepstudying'@'localhost' IDENTIFIED BY 'password';   如果有报错: ERROR 1819… Read More “命令行添加mysql用户, 命令行添加新phpmyadmin登录, Access denied for user ‘test’@’localhost’ (using password: YES) except root user, Your password does not satisfy the current policy requirements”

linux 配置php环境变量, php getenv 获取环境变量, 自定义 php 环境变量, ubuntu配置环境变量

标准做法是把 环境变量文件 放在 /etc/profile.d/ 目录下 例如,我生成了一个google adwords的配置文件,文件名是  google-adwords-php.sh export developerToken="my-google-token" export clientCustomerId="my-google-userid" export clientId="my-google-clientid" export clientSecret="my-google-clientsecret" export refreshToken="my-google-refresh-token"… Read More “linux 配置php环境变量, php getenv 获取环境变量, 自定义 php 环境变量, ubuntu配置环境变量”