Skip to main content
trailing / is unnecessary
Source Link
fd0
  • 11.1k
  • 3
  • 33
  • 49

Here is why your current code is not working:

export PATH=${PATH}/usr/local/mysql/bin/

You forgot the colon and the trailing "/" is unnecessary.

export PATH=${PATH}:/usr/local/mysql/bin/

is the correct code.

Here is why your current code is not working:

export PATH=${PATH}/usr/local/mysql/bin/

You forgot the colon.

export PATH=${PATH}:/usr/local/mysql/bin/

is the correct code.

Here is why your current code is not working:

export PATH=${PATH}/usr/local/mysql/bin/

You forgot the colon and the trailing "/" is unnecessary.

export PATH=${PATH}:/usr/local/mysql/bin

is the correct code.

Source Link
Spotlight
  • 1.5k
  • 14
  • 19

Here is why your current code is not working:

export PATH=${PATH}/usr/local/mysql/bin/

You forgot the colon.

export PATH=${PATH}:/usr/local/mysql/bin/

is the correct code.