Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

most likely place for mysql on a server

  • 18-05-2002 7:23pm
    #1
    Registered Users, Registered Users 2 Posts: 476 ✭✭


    which mysql doesn't throw it up
    and its not in /usr/bin/mysql

    anyother ideas ?


Comments

  • Registered Users, Registered Users 2 Posts: 2,013 ✭✭✭lynchie


    Assuming you are using redhat ,

    locate mysql


    If that doesnt work and its was installed from a rpm, run rpm -qpl mysql.xxxx.rpm and it will list the contents of the rpm. You will be able to see the directory structure of the package.

    this may work for other distros.


  • Registered Users, Registered Users 2 Posts: 476 ✭✭Pablo


    thanks , i've a few directories to look at now (running red hats 7.4 i think )


  • Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭Hecate


    try which mysql


  • Registered Users, Registered Users 2 Posts: 1,862 ✭✭✭flamegrill


    Mysql is most likely not installed, its not a default package.

    mysql the client should be in /usr/bin
    the server is called mysqld (funnily enough :)), but should only be started using safe_mysqld.

    if which mysqld or locate mysqld dont reveal the binary its not installed. or try find / -name mysqld.

    other than that get the packages from
    http://ftp.esat.net/mirrors/ftp.redhat.com/redhat/redhat-7.3-en/os/i386/SRPMS/mysql-3.23.49-3.src.rpm <- source for server/client.

    Regars,

    Paul


  • Registered Users, Registered Users 2 Posts: 347 ✭✭Static


    Ugh, the redhat mysql package *shudder* - install from source :)


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,862 ✭✭✭flamegrill


    Static, thats a SRC RPM, hence the SRPM in the url.

    Regards,

    Paul


  • Registered Users, Registered Users 2 Posts: 476 ✭✭Pablo


    /usr/local/psa/mysql/bin/mysql

    was where it was :confused:


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    You're on a Plesk machine Pablo, the package is custom built for security, which is why it's not in a standard location. It should have been in your PATH though.

    adam


Advertisement