Professional Web Applications Themes

PHP mySQL Apache OS X 10.2.6 - Mac Applications & Software

Can someone guide me to a good guide on getting all of these to work together? Or at least mysql?...

  1. #1

    Default PHP mySQL Apache OS X 10.2.6

    Can someone guide me to a good guide on getting all of these to work
    together? Or at least mysql?
    bbmac Guest

  2. #2

    Default Re: PHP mySQL Apache OS X 10.2.6

    In article <google.com>,
    net (bbmac) wrote:
     

    it's really not too difficult. check these links:

    http://www.entropy.ch/software/macosx/php/

    http://www.mysql.com/
    sam Guest

  3. #3

    Default Re: PHP mySQL Apache OS X 10.2.6

    In article <google.com>,
    net (bbmac) wrote:
     

    Which part are you stuck on? The installation? Programming? Design?
    fishfry Guest

  4. #4

    Default Re: PHP mySQL Apache OS X 10.2.6

    Well I installed the .dmg file from mySQL. Everything seems to be
    working fine, but I cant ever seem to set or change the root password.
    I think it has something to do with the hostname, but I do not know
    how to set the hostname correctly.

    Also, when I did mysql installs on linux, after I would run
    mysql_install_db, I would see a database called "mysql" and "test". I
    can get into the the mysql prompt (mysql>) and run show databases;
    .... all that comes up is the "test" database. No "mysql" db.

    So I am assuming mysql installed correctly, but when it comes to
    changing the "mysql" user, or the "root" user password, I am having
    problems. When I follow the directions from mysql.com and I issue the
    command.

    /usr/local/mysql/bin/mysqladmin -u root password <password>
    /usr/local/mysql/bin/mysqladmin -u root -h `hostname` password
    <password>

    I get the error: mysqladmin: Command not found.

    Thanks





    fishfry <com> wrote in message news:<attbi.com>... 
    >
    > Which part are you stuck on? The installation? Programming? Design?[/ref]
    bbmac Guest

  5. #5

    Default Re: PHP mySQL Apache OS X 10.2.6

    I tried to install the entropy package and it said that it incurred errors and quit.

    ben


    sam grey <com> wrote in message news:<TXO8b.438556$Ho3.71143sccrnsc03>... 
    >
    > it's really not too difficult. check these links:
    >
    > http://www.entropy.ch/software/macosx/php/
    >
    > http://www.mysql.com/[/ref]
    bbmac Guest

  6. #6

    Default Re: PHP mySQL Apache OS X 10.2.6

    In article <google.com>, bbmac
    <net> wrote:


    did you put 

    in your PATH ?
    erwan Guest

  7. #7

    Default Re: PHP mySQL Apache OS X 10.2.6

    erwan <fr> wrote in message news:<150920030812564295%fr>... 
    >
    > in your PATH ?[/ref]

    no, i did not. I was in the /usr/local/mysql/bin directory when I
    issued the command.
    bbmac Guest

  8. #8

    Default Re: PHP mySQL Apache OS X 10.2.6

    In article <google.com>,
    net (bbmac) wrote:
     

    What's your problem ?

    Have you installed MySQL ? Does it work if you use the
    command-line tools ?

    Have you enabled PHP ? Does it return the right results
    if you try one of the standard 'tell me my configuration'
    pages ?


    Simon Guest

  9. #9

    Default Re: PHP mySQL Apache OS X 10.2.6

    My problem is when I try and change the user root password or the user
    mysql password as described in the manual.

    /usr/local/mysql/bin/mysqladmin -u root password <password>
    /usr/local/mysql/bin/mysqladmin -u root -h `hostname` password
    <password>

    I get the error: mysqladmin: Command not found.


    demon.co.uklocalhost (Simon Slavin) wrote in message news:<0.1.2>... 
    >
    > What's your problem ?
    >
    > Have you installed MySQL ? Does it work if you use the
    > command-line tools ?
    >
    > Have you enabled PHP ? Does it return the right results
    > if you try one of the standard 'tell me my configuration'
    > pages ?[/ref]
    bbmac Guest

  10. #10

    Default Re: PHP mySQL Apache OS X 10.2.6

    In article <google.com>,
    com (bbmac) wrote:
     
    >>
    >> in your PATH ?[/ref]
    >
    >no, i did not. I was in the /usr/local/mysql/bin directory when I
    >issued the command.[/ref]

    Unix does not include the current directory in the search path.
    If you want to run a program in your current directory you still
    have to specify where it is. The simplest way to do this is to
    prepend './' to the program name, e.g.

    ../mysql <options>


    Simon Guest

Similar Threads

  1. mysql,php and apache
    By denisewren in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: December 19th, 10:25 PM
  2. MYSQL/PHP/APACHE
    By Aigle836 in forum Dreamweaver AppDev
    Replies: 0
    Last Post: March 22nd, 10:35 PM
  3. PHP+Apache+MySQL all in one?
    By Gelo Ilzi in forum PHP Development
    Replies: 6
    Last Post: January 28th, 12:56 AM
  4. PHP Apache and MySQL
    By george in forum PHP Development
    Replies: 1
    Last Post: January 25th, 05:42 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139