[question]Ошибка в заливе базы!
Сборка:все что пытаюсь поставить
Краткое изложение сути проблемы:я нуб по установке явы!Делаю всё как в мануалах по установке,но всё время останавливаюсь на установке базы!Вот сам файл database_installer(именно кусок который нужно редактировать):
set lsuser=root
set lspass=dfcbkmrjd
set lsdb=l2jdb
set lshost=localhost
set gsuser=root
set gspass=dfcbkmrjd
set gsdb=l2jdb
set gshost=localhost
set cmode=c
set backup=.
set logdir=.
А вот когда запускаю сам файл:scrin
помогите исправить)
Newbie: Сборка:все что пытаюсь поставить
Краткое изложение сути проблемы:я нуб по установке явы!Делаю всё как в мануалах по установке,но всё время останавливаюсь на установке базы!Вот сам файл database_installer(именно кусок который нужно редактировать):Кодset mysqlBinPath=C:\Program Files\MySQL\MySQL Server 5.2\bin
set lsuser=root
set lspass=dfcbkmrjd
set lsdb=l2jdb
set lshost=localhost
set gsuser=root
set gspass=dfcbkmrjd
set gsdb=l2jdb
set gshost=localhost
set cmode=c
set backup=.
set logdir=.
А вот когда запускаю сам файл:scrin
помогите исправить)
Должно быть так, как я исправил, ну диск меняешь в зависимости от того, где у тебя установлен mysql
— А что тут надо писать? :D
понимаешь, в некоторых инсталяторах надо править код внутри (например в l2jfree), а в некоторых надо сначала запустить батник и уже в нем тебе надо будет ввести эти значения (например Emu) там просто создастся новый файлик ВАРС (с твоими параметрами).
smOKe_NewAge: понимаешь, в некоторых инсталяторах надо править код внутри (например в l2jfree), а в некоторых надо сначала запустить батник и уже в нем тебе надо будет ввести эти значения (например Emu) там просто создастся новый файлик ВАРС (с твоими параметрами).
А в l2jServer как?)
Newbie: А в l2jServer как?)
Если в 1 посте был л2жсервер - то так, как я отредактировал, если не он - кинь сюда содержимое батника
— А что тут надо писать? :D
-------------------Тут пиши путь к папке Bin что находится в папке Mysql---------------
Write the path to your MySQL binaries (no trailing slash needed):
(default C:\Program Files\MySQL\MySQL Server 5.0\bin):
-----Логин в Mysql(root стандартно)-----
MySQL Username (default is 'root'):
-----Пароль к Mysql-----
Password (will be shown as you type, default ''):
-----Название базы с SQL файлами (L2jdb например)-----
Database (default is 'l2jdb'):
-----Хост(Localhost стандартно)-----
Host (default is 'localhost'):
Ниже указываешь теже данные как и в 1й раз.
3-GameServer settings
--------------------
-----Логин в Mysql(root стандартно)-----
User (default is 'root'):
-----Пароль к Mysql-----
Pass (default is ''):
-----Название базы с SQL файлами (L2jdb например)-----
Database (default is 'l2jdb'):
-----Хост(Localhost стандартно)-----
Host (default is 'localhost'):
Спс всем кто ответил)У мя получилось)но теперь ошибка при запуске геймсервера
# Game Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# Common settings...
# 127.0.0.1 - If you are playing alone on a test server
# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
# If this IP is resolvable by the Login Server, just leave *.
# ---------------------------------------------------------------------------
# Default: *
ExternalHostname =127.0.0.1
# ---------------------------------------------------------------------------
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
# If this IP is resolvable by the Login Server, just leave *.
# ---------------------------------------------------------------------------
# Default: *
InternalHostname = 127.0.0.1
# Where's the Login server this gameserver should connect to
# Default: 127.0.0.1
LoginHost = 127.0.0.1
# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 9014
# Default: *
GameserverHostname =127.0.0.1
# Default: 7777
GameserverPort = 7777
# ---------------------------------------------------------------------------
# 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.SQLServerDriver
Driver = 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 =ServerGame/password =dfcbkmrjd
URL = jdbc:mysql://localhost/l2jdb
# Database user info (default is "root" but it's not recommended)
Login = root
# Database connection password
Password =dfcbkmrjd
# Default: 100
MaximumDbConnections = 100
# Default: 0
MaximumDbIdleTime = 0
# ---------------------------------------------------------------------------
# Misc Server Settings
# ---------------------------------------------------------------------------
# This is the server ID that the Game Server will request.
# Example: 1 = Bartz
# Default: 1
RequestServerID = 1
# True = The Login Server will give an other ID to the server if the requested ID is already reserved.
# Default: True
AcceptAlternateID = True
# Datapack root directory.
# Defaults to current directory from which the server is started unless the below line is uncommented.
#DatapackRoot = C:/Work/tmp/DataPack
# Define how many players are allowed to play simultaneously on your server.
# Default: 100
MaximumOnlineUsers = 100
# Minimum and maximum protocol revision that server allow to connect.
# Warning: You must make sure that the minimum revision is always less than or equal to the maximum revision.
# Default: 83
MinProtocolRevision = 83
# Default: 83
MaxProtocolRevision = 83
А вот при запуске:скрин)
P.S.Знаю что это уже нада писать в другую тему)но всё равно плиз ответьте)Пасибок не жалко)
Ввел неправильный пароль
После = пробел поставь в пароле
— А что тут надо писать? :D
Доброго времени суток всем! Столкнулся с похожей проблемой. Когда стоял денвер, все было отлично, установил сервер камаель по мануалу. Теперь решил настроить все как надо. Поставил мускул апач и пхп. Но появилась проблема. инсталер базы L2J сервера выдает следующее -
your computer, so I need to ask you some questions.
1-MySql Binaries
--------------------
In order to perform my tasks, I need the path for commands
such as 'mysql' and 'mysqldump'. Both executables are
usually stored in the same place.
I can try to find out if the current setting actually works...
C:\Program Files\MySQL\MySQL Server 6.0\bin\mysql.exe
Found
Look, I can't find "MYSQL" in your PATH environment variable.
It would be good if you go and find out where "mysql.exe" and
"mysqldump.exe" are.
If you have no idea about the meaning of words such as MYSQL
or PATH, you'd better close this window, and consider googling
and reading about it. Setup and host an L2J server requires a
minimum of technical skills.
Write the path to your MySQL binaries (no trailing slash needed):
(default C:\Program Files\MySQL\MySQL Server 6.0\bin):
Загадка, почему оно пишет, что не нашло mysql.exe, когда оно это подтвердило строкой
C:\Program Files\MySQL\MySQL Server 6.0\bin\mysql.exe
Found
дальше при попытке установить всетаки базу пишет следующее
""C:\Program Files\MySQL\MySQL Server 6.0\bin\mysql.exe" -h localhost -u root --
password=xxx -D l2jdb < full_install.sql 2> NUL"
I'd suggest you to look for correct values and try this
script again later. But maybe you'd prefer to go on now.
(c)ontinue running the script
(r)econfigure
(q)uit now
Choose (default quit):
Вот содержимое vars.txt
set config_version=1
set cmode=c
set safe_mode=1
set mysqlPath=C:\Program Files\MySQL\MySQL Server 6.0\bin\mysql.exe
set mysqlBinPath=C:\Program Files\MySQL\MySQL Server 6.0\bin
set mysqldumpPath=C:\Program Files\MySQL\MySQL Server 6.0\bin\mysqldump.exe
set lsuser=root
set lspass=xxx
set lsdb=l2jdb
set lshost=localhost
set gsuser=root
set gspass=xxx
set gsdb=l2jdb
set gshost=localhost
set logdir=.
set backup=.
Заранее огромное спасибо!
Вроде просто нужно указывать вот так
Эм... в какой строке? Везде расширение убрать? Но ведь он по умолчанию его там пишет сам
может у тя версия мускула другая? и с экзешками пересмотри...мне кажется тоже не надо
Но почему же тогда с денвером это работало?
Зы. Потер везде расширения ".exe" и в vars.txt и в database_installer.bat
Не спасло. результат тот же. Версия мускула 6.0 Пути все исправлены. С 5.1 тоже пробовал... чертовщина какая то. ругается на то, что у рута нет прав на создание\изменение баз...
Ps предлагайте плиз варианты, любые, даже бредовые, все попробую ))) Уже сил моих нет. Жать спасибо буду всем! ))
Установщик сервера камаель пашет.... там все теже настройки! Ничего не понимаю!
скачай видео по установке сервера:
http://la2base.ru/video/2136-video-kak-pos...tke-l2free.html
http://la2base.ru/2007/11/06/video-po-usta...ot-komandy.html
— Модер-Спецназ






