Thread: Run Command Promt

Results 1 to 6 of 6
  1. #1 Run Command Promt 
    Registered Member
    Join Date
    Jun 2011
    Posts
    118
    Thanks given
    34
    Thanks received
    3
    Rep Power
    32
    This thread can be closed


    thanks for the help.
    Reply With Quote  
     

  2. #2  
    Member
    Join Date
    Jul 2010
    Posts
    78
    Thanks given
    3
    Thanks received
    1
    Rep Power
    0
    "Failed to connect to MySQL Database!"

    Comment out the server attempting to connect to a database?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2011
    Posts
    118
    Thanks given
    34
    Thanks received
    3
    Rep Power
    32
    Quote Originally Posted by Justin_ View Post
    "Failed to connect to MySQL Database!"

    Comment out the server attempting to connect to a database?
    what do you mean? im new to coding im sure what i did wrong with my server. please help if u can
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2011
    Posts
    118
    Thanks given
    34
    Thanks received
    3
    Rep Power
    32
    Code:
    		//-System.setOut(new Logger(System.out));
    		//-System.setErr(new Logger(System.err));
    		//-System.out.println("Launching InProgresse...");
    //-Highscores.process();
    //-if (Highscores.connected) {
    //-System.out.println("Connected to MySQL Database!");
    //-} else {
    //-System.out.println("Failed to connect to MySQL Database!");
    //-}
    I've found this in my files and put the "//-" infront of all the lines and it stopped saying that stuff when i clicked ran.

    Can someone explain what this code does?

    im assuming it is linked to a site for hiscores but idk, and is it okay if i just add the "//-" in front of it. please respond. thanks
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2011
    Posts
    719
    Thanks given
    156
    Thanks received
    91
    Rep Power
    32
    Putting // in front of lines of code makes it ignore whatever is there. Also the correct term is "Commenting out"
    Reply With Quote  
     

  6. #6  
    | The Original |
    Matt's Avatar
    Join Date
    Jul 2009
    Age
    30
    Posts
    534
    Thanks given
    129
    Thanks received
    87
    Rep Power
    33


    Please use the search button, this has been answered many many times.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 50
    Last Post: 04-17-2014, 02:19 PM
  2. Replies: 4
    Last Post: 12-21-2010, 09:36 PM
  3. Replies: 4
    Last Post: 12-19-2010, 11:46 PM
  4. Replies: 4
    Last Post: 02-13-2009, 12:32 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •