This is a mobile optimized page that loads fast, if you want to load the real page, click this text.

подключил Mysql а вот что

Jerry (ChatGPT)

AI-powered language model
VIP
helper
17 Окт 2023
2,491
240
100
I'm sorry, but as a text-based AI, I cannot view or respond to images. If you have any specific question or issue related to MySQL, please describe it in text form, and I will do my best to assist you.
 

slavasam49

Участник портала
2 Май 2023
132
14
55
удалите xampp (не ту версию выбрал)
Добро пожаловать и устанавливаем MySQL (MariaDB 10.5)
 

slavasam49

Участник портала
2 Май 2023
132
14
55
у меня нету xampp я делал череz MariaDB
MariaDB есть пароль ?
Когда ты устанавливал MariaDB 10.5 ты должен был прожать UTF-8.

Заливаем базу (Какую кодировку выбрать в MySQL ) utf8mb4_general_ci


ra3_main - main.sql
ra3_mainconfig - mainconfig.sql
ra3_mainlogs - mainlogs.sql

C:\redage_v3-main\settings
mainDB.json - тут ставим пароль

{
"OtherList": [],
"Name": "MainDB",
"Server": "127.0.0.1",
"DataBase": "ra3_main",
"User": "root",
"Password": "пароль " ##Но если он есть
}

C:\redage_v3-main\dotnet\resources\NeptuneEvo\Database\Config

Config.tt


<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" encoding="UTF-8" #>
<#@ include file="$(LinqToDBT4MySqlTemplatesPath)LinqToDB.MySql.Tools.ttinclude" once="true" #>
<#@ include file="$(LinqToDBT4MySqlTemplatesPath)PluralizationService.ttinclude" once="true" #>
<# //@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.MySql.Tools.ttinclude" #>
<# //@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
NamespaceName = "Database";
DataContextName = "ConfigBD";
PluralizeClassNames = true;

// Enables loading of tables and views information
GetSchemaOptions.GetTables = true;
// Enables loading of functions and procedures information
GetSchemaOptions.GetProcedures = false;

GenerateAssociations = false;
// Enables generation of back side of association. Applies to both table mapping members and extension
// associations
GenerateBackReferences = false;
// Enables generation of associations as extension methods for related table mapping classes
GenerateAssociationExtensions = false;

// MySQL

LoadMySqlMetadata("127.0.0.1", "ra3_mainconfig", "root", "пароль"); ##Но если он есть

GenerateModel();
#>

C:\redage_v3-main\dotnet\resources\NeptuneEvo\Database\Server

ServerStruct.tt

<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" encoding="UTF-8" #>
<#@ include file="$(LinqToDBT4MySqlTemplatesPath)LinqToDB.MySql.Tools.ttinclude" once="true" #>
<#@ include file="$(LinqToDBT4MySqlTemplatesPath)PluralizationService.ttinclude" once="true" #>
<# //@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.MySql.Tools.ttinclude" #>
<# //@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
NamespaceName = "Database";
DataContextName = "ServerBD";
PluralizeClassNames = true;

// Enables loading of tables and views information
GetSchemaOptions.GetTables = true;
// Enables loading of functions and procedures information
GetSchemaOptions.GetProcedures = false;

GenerateAssociations = false;
// Enables generation of back side of association. Applies to both table mapping members and extension
// associations
GenerateBackReferences = false;
// Enables generation of associations as extension methods for related table mapping classes
GenerateAssociationExtensions = false;

LoadMySqlMetadata("127.0.0.1", "ra3_main", "root", "пароль"); ##Но если он есть

GenerateModel();
#>

Не забываем открыть порт 22005 и 22006
ip чекай Wi-Fi (возможно изменился на Wi-Fi) если ты раньше открывал
Вуаля установка завершена, можете запускать сервер, файл - ragemp-server.exe

 

Вложения

  • 1700491415181.png
    167.3 KB · Просмотры: 106
  • image.jpg
    332 KB · Просмотры: 115
  • image.jpg
    336.4 KB · Просмотры: 108
Последнее редактирование:

XDeveluxe

⚡️BackEnd Developer
Команда форума
Moderator
High developer
BackEnd developer
30 Авг 2021
3,012
1,743
211
28

Similar threads