Page 1 of 1

problem with server

Posted: Wed Jul 14, 2010 7:29 am
by tasadar
I have that problem - when i open file RegisterServer give me error. What i do?

Re: problem with server

Posted: Wed Jul 14, 2010 7:32 am
by janiii
your revisions? what is the error? did you search forum? do you have JAVA_HOME set in your environmental variables and do you have java bin set to PATH? give more info or topic will be closed.

Re: problem with server

Posted: Wed Jul 14, 2010 8:04 am
by tasadar
I have JDK and JRE. When i make previous server i save hexid and now i put him in gameserver. Now when i use Login Server Console

Re: problem with server

Posted: Wed Jul 14, 2010 8:14 am
by antons007
Incorrect MySQL Username and/or password

Re: problem with server

Posted: Wed Jul 14, 2010 8:24 am
by tasadar
ok i will see now.

edit: I don't know, but i think there is no wrong with passwords. Now i must see in MySQL or Navicat?

Re: problem with server

Posted: Wed Jul 14, 2010 9:19 am
by antons007
You have set a password for root, but in your configs you have not!!!

Re: problem with server

Posted: Wed Jul 14, 2010 11:23 am
by tasadar
now i wrote the pass,but again it's not working. Sry but i'm new in this area.

Re: problem with server

Posted: Wed Jul 14, 2010 11:43 am
by antons007
can you acces mysql with navicat?
if you can check here your username and if password is set

Re: problem with server

Posted: Wed Jul 14, 2010 11:55 am
by dinor
tasadar
go to folder tools and open the the file vars.txt
now go to folder login/config and open the file loginserver.properties with notepad
make sure you have the right ips

and then go

Code: Select all

 # ---------------------------------------------------------------------------# Database# ---------------------------------------------------------------------------# Specify the appropriate driver and url for the database you're using.# Examples:# Driver = com.mysql.jdbc.Driver (default)# Driver = org.hsqldb.jdbcDriver# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriverDriver = com.mysql.jdbc.Driver# Database URL# URL = jdbc:mysql://localhost/l2jdb (default)# URL = jdbc:hsqldb:hsql://localhost/l2jdb# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password = URL = jdbc:mysql://localhost/l2jdb [b]<-- make sure this is the same as in vars.txt[/b]# Database user info (default is "root" but it's not recommended)Login = root# Database connection password Password = mysqlpassword [b]<-- make sure this is the same as in vars.txt[/b]# Default: 10MaximumDbConnections = 100 
That's all

Re: problem with server

Posted: Wed Jul 14, 2010 1:26 pm
by tasadar
ok ty. Later, becouse now i'm can't now.

Re: problem with server

Posted: Wed Jul 14, 2010 2:00 pm
by antons007
you need to do the same with gameserver/config/server.properties!

Re: problem with server

Posted: Wed Jul 14, 2010 2:05 pm
by tasadar
can y give me a photo, becouse i'm little stupid.

Re: problem with server

Posted: Wed Jul 14, 2010 6:09 pm
by antons007
http://www.l2jserver.com/wiki/Setup_Server
Head to Editing the Configuration Files