FATAL ERROR: Could not find ./bin/my_print_defaults 解決方法
http://blog.csdn.net/zhaokuner/article/details/7276228
網上很多方法都是:/usr/local/mysql/scripts/mysql_install_db --user=mysql
網上很多方法都是:/usr/local/mysql/scripts/mysql_install_db --user=mysql
但是很有可能報錯,找不到bin目錄中的my_print_defaults
錯誤資訊:
FATALERROR:Couldnotfind./bin/my_print_defaults
If you are using a binary release, you must run this script from
within the directory the archive extracted into. If you compiled
MySQL yourself you must run 'make install' first.
或
[root@bogon scripts]# /usr/local/mysql/scripts/mysql_install_db --user=mysql&
[1] 16874
[root@bogon scripts]#
FATAL ERROR: Could not find ./bin/my_print_defaults
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
解決方法:
[root@bogon scripts]# /usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data &(這點非常重要)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/90618/viewspace-1075286/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL 5.6初始化資料庫時報錯FATAL ERROR: Could not find ./bin/my_print_defaultsMySql資料庫Error
- Fatal error: Uncaught PDOException: could not find driverErrorException
- MySQL 5.5初始化資料庫報錯FATAL ERROR: Could not find my_print_defaultsMySql資料庫Error
- Error ./bin/my_print_defaults: not foundError
- 關於 artisan migrants Could not find drive 解決方法
- Could not find *.apk!解決辦法APK
- ld.so.1: oracle: fatal: relocation error解決方法OracleError
- Could not find or access '/etc/ansible/bin/cfssljson /etc/ansible/bin/cfsslJSON
- Could not find jar tool executable問題解決JAR
- jar檔案could not find the main class解決JARAI
- Ubuntu下 fatal error: Python.h: No such file or directory 解決方法UbuntuErrorPython
- OGG-00446 ERROR: Could not find archived logErrorHive
- ogg GGS ERROR 500 Could not find archived logErrorHive
- SQL error 2812: Could not find stored procedure.docSQLError
- cmake報錯CMake Error: Could not find CMAKE_ROOTError
- java編譯 Error: Could not find or load main class java執行包main方法Java編譯ErrorAI
- 帝國CMS更新時提示Fatal error: Allowed memory size of的解決方法Error
- 錯誤 qt.qpa.plugin: Could not find the Qt platform plugin “windows“ in ““ 的解決方法QTPluginPlatformWindows
- 【MySQL】Got fatal error 1236原因和解決方法MySqlGoError
- master bug InnoDB Error unlock row could not find a 4 mode lockASTError
- ERROR | [iOS] unknown: Encountered an unknown error (Could not find a `ios` simulator (valid values:ErroriOS
- Error: Could not load module '/usr/local/nagios/bin/ndo2ErroriOS
- mysql主從同步失敗Last_IO_Error: Got fatal error 1236 from master解決方法MySql主從同步ASTErrorGo
- fatal: [192.168.65.128]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: data could not be senFalseError
- 解決CocoaPods could not find compatible versions for pod "React/Core"React
- java.lang.IllegalArgumentException: Could not find class異常解決方式JavaException
- Error:Could not find com.android.tools.build:gradle:2.2.2.ErrorAndroidUIGradle
- VS 2017 Git failed with a fatal error的解決辦法GitAIError
- Dynamics CRM 安裝SSRS Extension時報Could not find the name or insufficient right to see name的解決方法
- Composer 記憶體不足解決方案 PHP Fatal error: Out of memory記憶體PHPError
- 帝國CMSr的Fatal error:Allowed memory size of的解決辦法Error
- FATAL - Fatal error: Target Interaction Manager failed at StartupErrorAI
- $FND_TOP/bin/txkrun.pl -script=DeployForms-c4ws Fails with Fatal ErrorORMAIError
- 報錯Intel MKL FATAL ERROR: Cannot load libmkl_core.so.的一種解決方法IntelErrorIBM
- java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop(已解決)JavaExceptionNullHadoop
- /usr/bin/ld: cannot find -lopenblas
- Many To Many could not initialize proxy – no Session的解決方法Session
- Internal error:1058 解決方法Error