Web Problem

Results 1 to 11 of 11
  1. #1
    Just Ask ME!!! jujogual is offline
    MemberRank
    Nov 2006 Join Date
    VenezuelaLocation
    876Posts

    Question Web Problem

    I have this error: when i try to see my seb l2sky.no-ip.org

    Code:
    Warning: mysql_connect() [function.mysql-connect]: [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://localhost:3306) in C:\AppServ\www\config\_config_procs.php on line 3
    
    Warning: mysql_connect() [function.mysql-connect]: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\AppServ\www\config\_config_procs.php on line 3
    
    Fatal error: Maximum execution time of 60 seconds exceeded in C:\AppServ\www\config\_config_procs.php on line 3


    i got it from windows 2008 server but when i have win xp everything work perfect, i must change comsthing??

    the file config_proces:

    Code:
    <?php
    $L2JBS_config["javascript_sort_method"]="bubble";
      $link = mysql_connect($L2JBS_config['mysql_host'].":".$L2JBS_config['mysql_port'], $L2JBS_config['mysql_login'], $L2JBS_config['mysql_password']);
      if (!$link)
        die("Couldn't connect to MySQL");
      @mysql_select_db($L2JBS_config['mysql_db'], $link)
        or die ('Error '.mysql_errno().': '.mysql_error());
    ?>


  2. #2
    Apprentice MaDu7zU is offline
    MemberRank
    Jul 2008 Join Date
    23Posts

    Re: Web Problem

    Quote Originally Posted by jujogual View Post
    I have this error: when i try to see my seb l2sky.no-ip.org

    Code:
    Warning: mysql_connect() [function.mysql-connect]: [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://localhost:3306) in C:\AppServ\www\config\_config_procs.php on line 3
    
    Warning: mysql_connect() [function.mysql-connect]: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\AppServ\www\config\_config_procs.php on line 3
    
    Fatal error: Maximum execution time of 60 seconds exceeded in C:\AppServ\www\config\_config_procs.php on line 3


    i got it from windows 2008 server but when i have win xp everything work perfect, i must change comsthing??

    the file config_proces:

    Code:
    <?php
    $L2JBS_config["javascript_sort_method"]="bubble";
      $link = mysql_connect($L2JBS_config['mysql_host'].":".$L2JBS_config['mysql_port'], $L2JBS_config['mysql_login'], $L2JBS_config['mysql_password']);
      if (!$link)
        die("Couldn't connect to MySQL");
      @mysql_select_db($L2JBS_config['mysql_db'], $link)
        or die ('Error '.mysql_errno().': '.mysql_error());
    ?>

    verify your config in website or install XAMPP

  3. #3
    Just Ask ME!!! jujogual is offline
    MemberRank
    Nov 2006 Join Date
    VenezuelaLocation
    876Posts

    Re: Web Problem

    the point is that i have the same config for windows xp and work perfect now in windows server dont work...

    and what is xamp?? what i does this program??

  4. #4
    Just Ask ME!!! jujogual is offline
    MemberRank
    Nov 2006 Join Date
    VenezuelaLocation
    876Posts

    Re: Web Problem

    Well i gues any body kwons what is happend... :S

  5. #5
    Enthusiast lolnet is offline
    MemberRank
    Jan 2007 Join Date
    27Posts

    Re: Web Problem

    u must put inside of '...' thats it say only at line 3:)
    for example :
    'mysql host'='127.0.0.1' etc


    i think help u:)

  6. #6
    ~ksemer~ DaRkAnGeL is offline
    MemberRank
    Oct 2006 Join Date
    Java_HomeLocation
    5,115Posts

    Re: Web Problem

    give me your config.php

    with what do you open your site?

    mysql , diskw , easyphp

  7. #7
    Just Ask ME!!! jujogual is offline
    MemberRank
    Nov 2006 Join Date
    VenezuelaLocation
    876Posts

    Re: Web Problem

    app server, well im usign right now xampp and woork very fine....

    the question is i did do any change when i change win xp to win server why happend this problem???

  8. #8
    ~ksemer~ DaRkAnGeL is offline
    MemberRank
    Oct 2006 Join Date
    Java_HomeLocation
    5,115Posts

    Re: Web Problem

    Quote Originally Posted by jujogual View Post
    app server, well im usign right now xampp and woork very fine....

    the question is i did do any change when i change win xp to win server why happend this problem???
    with my win 2003 i didn't have any problem. if you want try the easyphp.... it will work 100%

  9. #9
    Just Ask ME!!! jujogual is offline
    MemberRank
    Nov 2006 Join Date
    VenezuelaLocation
    876Posts

    Re: Web Problem

    well im using xampp and many people tell me that is good :D i will kepp using it,..

    Thx for the Help

  10. #10
    Novice hawki is offline
    MemberRank
    Dec 2008 Join Date
    2Posts

    Re: Web Problem

    I can't get the website to connect to my MS SQL Database is this possiable with website?

    <?php
    $L2JBS_config["msql_host"]="127.0.0.1"; // MySQL IP
    $L2JBS_config["mysql_port"]="2108"; // MySQP port
    $L2JBS_config["mysql_db"]="lin2db"; // l2jdb or your lineage 2 server database name
    $L2JBS_config["mysql_login"]="***"; // MySQL Login name
    $L2JBS_config["mysql_password"]="*****"; // MySQL Password

    error_reporting(0);
    ?>
    <?php
    $L2JBS_config["javascript_sort_method"]="bubble";
    $link = mysql_connect($L2JBS_config['mysql_host'].":".$L2JBS_config['mysql_port'], $L2JBS_config['mysql_login'], $L2JBS_config['mysql_password']);
    if (!$link)
    die("Couldn't connect to MS SQL Database");
    @mysql_select_db($L2JBS_config['mysql_db'], $link)
    or die ('Error '.mysql_errno().': '.mysql_error());

    ?>

  11. #11
    Just Ask ME!!! jujogual is offline
    MemberRank
    Nov 2006 Join Date
    VenezuelaLocation
    876Posts

    Re: Web Problem

    Quote Originally Posted by hawki View Post
    I can't get the website to connect to my MS SQL Database is this possiable with website?

    <?php
    $L2JBS_config["msql_host"]="127.0.0.1"; // MySQL IP
    $L2JBS_config["mysql_port"]="2108"; // MySQP port
    $L2JBS_config["mysql_db"]="lin2db"; // l2jdb or your lineage 2 server database name
    $L2JBS_config["mysql_login"]="root"; // MySQL Login name
    $L2JBS_config["mysql_password"]="MYSQL PASS"; // MySQL Password

    error_reporting(0);
    ?>
    <?php
    $L2JBS_config["javascript_sort_method"]="bubble";
    $link = mysql_connect($L2JBS_config['mysql_host'].":".$L2JBS_config['mysql_port'], $L2JBS_config['mysql_login'], $L2JBS_config['mysql_password']);
    if (!$link)
    die("Couldn't connect to MS SQL Database");
    @mysql_select_db($L2JBS_config['mysql_db'], $link)
    or die ('Error '.mysql_errno().': '.mysql_error());

    ?>
    Maybe work like that, if you dont have pass put it

    $L2JBS_config["mysql_password"]="";
    Hope help you...



Advertisement