Closed akmur closed 8 years ago
I think the issue might be with partially downloaded updates, or something like that. Will be reinstalling from scratch and come back if the issue persists.
Sorry to be back, the problem persists for me... any idea anyone?
Looks to be another configuration issue with a shell, @steelbrain?
@akmur Can you tell us which shell you're using?
Hello, I just found out that the issue was caused by these lines in bashrc, which I added ages ago. Removing those lines fixed the issue.
# Export MAMP MySQL executables as functions
# Makes them usable from within shell scripts (unlike an alias)
mysql() {
/Applications/MAMP/Library/bin/mysql "$@"
}
mysqladmin() {
/Applications/MAMP/Library/bin/mysqladmin "$@"
}
export -f mysql
export -f mysqladmin
I am glad you found the issue
Hello, I get the weirdest issue:
This is my error message:
Error: sh: mysql: line 1: syntax error: unexpected end of file sh: error importing function definition for mysql' sh: mysqladmin: line 1: syntax error: unexpected end of file sh: error importing function definition formysqladmin'
and more in detail
Any idea what might be the cause?