Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    LOL! I put in the wrong values... wow im dumb.

    Crap forgot to edit sorry.
    How could this hapen to meeeeeeeeeeeeeee?lol.

  2. #12
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    just change the posts to the right values and it works =)
    How could this hapen to meeeeeeeeeeeeeee?lol.

  3. #13
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    346
    Tokens
    0

    Default

    Haha works now, I forgot to include my installmysql.php file
    I am Bojangles =]




  4. #14
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Grats

    May I ask how did you install the mysql, just using the .sql or...?
    How could this hapen to meeeeeeeeeeeeeee?lol.

  5. #15
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    try execute it in something like phpMyadmin. (Open the .sql in notepad or some other good program, and paste the SQL in phpMyadmin SQL query executer)

    Clever

  6. #16
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Posts
    2,016
    Tokens
    141
    Habbo
    florx

    Latest Awards:

    Default

    Hey,

    Hate to break this to you but this is mssql not mysql.


  7. #17
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by FlorX View Post
    Hey,

    Hate to break this to you but this is mssql not mysql.
    lol -cry.

    I can't believe it's not ''Butter' MySQL..
    Last edited by Independent; 24-03-2008 at 01:19 AM.

  8. #18
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    1,073
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Reconix View Post
    Grats

    May I ask how did you install the mysql, just using the .sql or...?
    Yeah, just writing a plain .sql text file

  9. #19
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by rawritsluke View Post
    Hey I need this file for one of my index pages to run but when I enter my database info it doesn't work :S

    PHP Code:
    if ($sql_mode==2) {
    $crishn pg_connect("$localhost","5432","$sql_data");
    } else if (
    $sql_mode==3) {
    $crishn mssql_connect($host$sql_user$changeme);
    $crashn mssql_select_db($sql_data);
    } else if (
    $sql_mode==4) {
    $crishn odbc_connect($sql_data$host$changeme);
    } else {
    $crishn mysql_connect($localhost$host$changeme);
    $crashn mysql_select_db($host);

    I've put the database user and password as host and changeme due to me not wanting the database info being leaked And yes when I put in the correct database info it is the correct info.

    +REP to whoever helps
    Quote Originally Posted by rawritsluke View Post
    Okay that script is for an install file. So when users download the cms they can install it. But I'm trying to get it to work. For them to install they need to input their database info but I've tried and it doesn't work.

    The includes are for submitting content etc.


    Dude, you're going to need to figure out which database you are going to use!

    pg_connect is postgreSQL.
    mssql
    odbc
    MySQL

    And from what I see, the quality of those code is awful, so why not stick with one? Just support MySQL, I am sure more people would prefer that.
    Last edited by Dentafrice; 24-03-2008 at 02:45 PM.

  10. #20
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    1,073
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Housekeeping View Post
    Dude, you're going to need to figure out which database you are going to use!

    pg_connect is postgreSQL.
    mssql
    odbc
    MySQL

    And from what I see, the quality of those code is awful, so why not stick with one? Just support MySQL, I am sure more people would prefer that.
    Hmm I could just use one. Yeah its poor but I'm new to all this as you can probably tell

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

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