Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2002
    Posts
    162

    Mysql in ssh on pleskserver

    Hi

    When I typ mysql whith SSH on a new pleskserver I get command not found!!

    And yes mysql is running/working and evrything is ok, but ssh dont understand the command "mysql"!!

    TNX.
    Regards,
    babak

  2. #2
    Join Date
    Jun 2001
    Location
    Chicago, IL
    Posts
    1,953
    most likely the path is not defined in your profile, so when you try to run mysql, it cant find it, try find / -name mysql and it should turn up. Its like going into the command prompt in windows and type liek abc.exe when the file is located in something like C:\1\2\abc.exe unless the os knows to know in that directory for the file, it wont find it and say command not found
    Chicago Electronic Cigarettes: Tobacco Free, Smoke Free. 3 E-Cig Models, 11 flavors, and accessories.
    http://www.chicago-ecigs.com

  3. #3
    Join Date
    Mar 2002
    Posts
    162
    Hi,

    TNX for your replay,

    I was forgot to tel that its a RH7.2 whit plesk, not a windows server.

  4. #4
    Join Date
    Jun 2001
    Location
    Chicago, IL
    Posts
    1,953
    I know, I was just giving an example(compareing it to windows) running that command should find it
    Chicago Electronic Cigarettes: Tobacco Free, Smoke Free. 3 E-Cig Models, 11 flavors, and accessories.
    http://www.chicago-ecigs.com

  5. #5
    Join Date
    Mar 2002
    Posts
    162
    TNX.


    For people who want the path to login to mysql on fresh installed plesk on RH7.2:


    typ: /usr/local/psa/mysql/bin/mysql -u root -p




    Thanks again.
    Regards,
    babak

Posting Permissions

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