關(guān)于修改Mysql數(shù)據(jù)庫文件大小限制解答

2023-05-17    分類: 網(wǎng)站建設

關(guān)于修改mysql數(shù)據(jù)庫文件大小限制解答,創(chuàng)新互聯(lián)成都網(wǎng)絡公司在用phpmyadmin導入mysql數(shù)據(jù)庫時,遇到10M的數(shù)據(jù)庫不能導入,mysql數(shù)據(jù)庫大只能導入2M..

phpmyadmin數(shù)據(jù)庫導入出錯:
You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.

可以修改導入數(shù)據(jù)庫文件大限制嗎?可以!

解決這個問題,可以參考phpmyadmin文檔;直接點擊這個鏈接,phpmyadmin自動查找到了以下說明:

The first things to check (or ask your host provider to check) are the values of upload_max_filesize, memory_limit and post_max_size in the php.ini configuration file. All of these three settings limit the maximum size of data that can be submitted and handled by PHP. One user also said that post_max_size and memory_limit need to be larger than upload_max_filesize.

以上文件大致說明的意思就是說,遇到導入過大文件時,首先檢查php.ini 配置文件中的以下三個地方,upload_max_filesize, memory_limit 和post_max_size,并且推薦修改的值要稍大于導入的巨大sql數(shù)據(jù)庫文件;依照這個提示,修改了以上三個在php.ini中的值以后,重啟了php環(huán)境,再次導入時,數(shù)據(jù)庫文件已經(jīng)被成功的導入了。

本文名稱:關(guān)于修改Mysql數(shù)據(jù)庫文件大小限制解答
網(wǎng)址分享:http://www.muchs.cn/news35/259585.html

成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供搜索引擎優(yōu)化、外貿(mào)建站、關(guān)鍵詞優(yōu)化、網(wǎng)站設計公司微信小程序、網(wǎng)站制作

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

h5響應式網(wǎng)站建設