phpmyAdmin 用nginx服務其網頁

2021-09-23 20:31:31 字數 657 閱讀 2141

平時工作中用mysql做資料庫後,經常需要檢視表結構,修改表結構,做一些查詢, 在linux的laptop或者工作機上缺少乙個趁手的mysql ui工具, 查了下用phpmyadmin來做這個。

但是大多數文章都是用apache來做phpmyadmin的web伺服器, 而我機器上已經有了nginx,應該可以使用它來做, 翻了些文章最後實現如下。

碰到 error: mysqli_connect(): the server requested authentication method unknown to the client [caching_sha2_password] in…

解決:alter user 『mysqlusername』@『localhost』 identified with mysql_native_password by 『mysqlusernamepassword』;

引自 stackoverflow

用phpmyadmin更改mysql5 0登入密碼

update mysql.user set password old password 新密碼 where user 使用者名稱 注意這個old password mysql函式 這樣一來就把密碼加密成16位,而不能用 password 這個函式,不然就加密成40位。然後修改phpmyadminar...

CentOs7 3用yum方式安裝Nginx

安裝版本 1.16.0 安裝方式 yum 安裝步驟 第一步 新增yum源 該命令執行之後,會在 etc yum.respos.d下面多出乙個nginx.repo rpm ivh第二步 安裝 yum y install nginx第三步 檢視nginx的預設安裝目錄 whereis nginx 1 n...

啊?我用phpmyadmin上傳不了sql檔案了

問題 使用phpmyadmin上傳sql檔案失敗啦。原因 可能檔案過大,響應超時等。解決 修改php.ini以下配置 修改php上傳檔案大小限制的方法 一般的檔案上傳,除非檔案很小.就像乙個5m的檔案,很可能要超過一分鐘才能上傳完.但在php中,預設的該頁最久執行時間為 30 秒.就是說超過30秒,...