所以我只是更新phpMyAdmin爲我的MAMP本地開發建議由phpMyAdmin。MySQL錯誤#1064爲WordPress
我現在使用MAMP主要是爲了在本地開發WordPress網站。現在
,我想創建一個新的數據庫每一次,我得到這個錯誤:
SELECT MAX(version) FROM.WHERE `db_name` = 'temp'
AND `table_name` = ''
AND FIND_IN_SET( 'CREATE DATABASE', tracking) >0
MySQL said:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL >server version for the right syntax to use near 'WHERE
db_name
= 'temp' ANDtable_name
= >'' AND FIND_IN_SET('CREATE DATABAS' at line 1
但是,仍然是創建數據庫。
現在每次我點擊一個數據庫的時候,我得到這個錯誤像這樣(在這個例子中,數據庫的名稱是「IOS」
SELECT tracking_active FROM.WHERE db_name = 'ios'
AND table_name = 'wp_commentmeta'
ORDER BY version DESC
MySQL said:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE db_name = 'ios' AND table_name = 'wp_commentmeta' ORDER BY version DESC' at line 1
我沒有很多如果有人在那裏有同樣的問題/知道發生了什麼,我真的很感謝幫助你計算出來。
我問了這個問題,但因爲某種原因被拒絕了,儘管我仍然沒有答案。有人能解釋/幫助我嗎? –
由於這個問題已關閉,我不能把答案,但問題駐留在phpmyadmin'confic.inc.php文件。如果您進行了任何更改,請將它們還原或更改以$ cfg開頭的行,如下所示: '$ cfg ['Servers'] [$ i] ['pmadb'] ='phpmyadmin'; $ cfg ['Servers'] [$ i] ['bookmarktable'] ='pma_bookmark'; $ cfg ['Servers'] [$ i] ['relation'] ='pma_relation'; $ cfg ['Servers'] [$ i] ['table_info'] ='pma_table_info'; $ cfg ['Servers'] [$ i] ['table_coords'] ='pma_table_coords'; $ cfg ['Servers'] [$ i] ['pdf_pages'] ='pma_pdf_pages'; $ cfg ['Servers'] [$ i] ['column_info'] ='pma_column_info'; ' – bicycle
續: '$ cfg ['Servers'] [$ i] ['history'] ='pma_history'; $ cfg ['Servers'] [$ i] ['table_uiprefs'] ='pma_table_uiprefs'; $ cfg ['Servers'] [$ i] ['tracking'] ='pma_tracking'; $ cfg ['Servers'] [$ i] ['designer_coords'] ='pma_designer_coords'; $ cfg ['Servers'] [$ i] ['userconfig'] ='pma_userconfig'; $ cfg ['Servers'] [$ i] ['recent'] ='pma_recent';' – bicycle