Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Mysql Environment Variable


    How to set variable for remote mysql? Mysql server is on linux and ip is I want to install crystal report on server A and mysql is server B which ip is and keep asking environment variable. Anyone knows how?

    Attached Images Attached Images

  2. #2

    Perhaps you need to set the MYSQL_HOME variable, which points to your location of my.cnf, see an explanation here.

    to set a variable, you can just do this in a terminal:
    export MYSQL_HOME=/etc/my.cnf
    The location of your my.cnf file might be different.

    You can put this command in a login script for the current user, so it is automatically set at login. For example, you can use ~/.bashrc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts