Results 1 to 6 of 6
  1. #1

    Mysql and base on Raq 550


    Where download and how install mysql to my raq 550 ?

  2. #2
    Join Date
    Apr 2002
    MySQL is standard installed on RaQ550.

    Just reset the root password,
    make a sym link /tmp/mysl.sock -> /var/..

    Edit php.ini to add MySQL support in Apache...

    Those things

  3. #3
    MySQL is already installed on a RAQ550.

    This is what I did with my server:

    Start MySQL:

    /etc/init.d/mysql start

    Enable support for MySQL in PHP:

    By default, mysql is not configured to run with php scripting. To enable it, please do the following:

    Enable the php scripting for the vsite under the following menu
    "Site Management -> Services -> Web -> Enable PHP scripting"
    Edit the /etc/httpd/php.ini to add the following line
    Restart the httpd by typing
    /etc/init.d/httpd restart
    Start the mysql daemons by typing
    /etc/init.d/mysql start
    Create a symlink /tmp/mysql.sock to /var/lib/mysql/mysql.sock using
    ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
    To test the feature, install the following sample test page in the web root of your virtual site. When you access this page, it should report that it made successful connection to mysql


    $dbcnx = @mysql_connect("localhost", "root");
    if (!$dbcnx) {
    echo( "<P>Unable to connect to the " .
    "database server at this time.</P>" );
    else {
    echo( "<P>Successfully connected to mysql</P>");


    Change MySQL root password

    mysqladmin -uroot -pcobalt-mysql password newpassword
    (if you get an access denied error, leave out -pcobalt-mysql as there may be no password initially)

    shell> mysql -uroot -p (and enter password when prompted)

  4. #4



    [admin init.d]$ mysql start
    ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

    what's problem ?

  5. #5
    Join Date
    Apr 2002
    You need to type EXACTLY this

    /etc/init.d/mysql start

    Not just mysql start in that dir

  6. #6

    Connect with Mysql-Front

    Thanks, it's ok mysql serveur run..

    But i don't connect to mysql with mysql-front ?

Posting Permissions

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