Results 1 to 10 of 19

Thread: CoD4 - MySQL problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Private
    Join Date
    Nov 2012
    Location
    Denmark, where else
    Posts
    27
    Thanks
    5
    Thanked 13 Times in 6 Posts
    Do you have a mysql database? if not then here we go.

    Before installing Mysql, make sure your repositories are up to date:

    apt-get update

    Now you need Apache:

    apt-get install apache2

    To install Mysql, enter terminal or screen and type in these commands:

    apt-get install mysql-server

    Follow the instructions.
    If you miss the chance to set the password then you can always do it within the mysql shell.

    Run the mysql setup script:

    mysql_secure_installation

    The prompt will ask you for your current root password. Type it in.

    Once again follow the instructions and remember pressing N is for No and Y for yes.

    INSTALLING PHP? not sure if it's necessary but here we go:

    apt-get install php5 php-pear php5-suhosin php5-mysql

    Answer YES twice and it will install itself.

    Finish up by restarting apache:

    service apache2 restart
    Last edited by Sense; 19th September 2013 at 20:36.
    Dont drink and drive, smoke and fucking fly

  2. The Following 3 Users Say Thank You to Sense For This Useful Post:

    BlancO (19th September 2013),kung foo man (19th September 2013),YuriJurek (19th September 2013)

Posting Permissions

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