Skip to content

Commit

Permalink
Fix Database import error
Browse files Browse the repository at this point in the history
  • Loading branch information
afiniel committed Nov 30, 2022
1 parent 64000fe commit 3539ed0
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 24 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<h1 align="center"> Yiimpool Yiimp Install Scrypt v0.5.6 With DaemonBuilder and addport (update 2022-11-10) </h1>
<h1 align="center"> Yiimpool Yiimp Install Scrypt v0.5.7 With DaemonBuilder and addport (update 2022-11-10) </h1>

<a href="https://discord.gg/TTprjGD2tw"><img src="https://img.shields.io/discord/904564600354254898.svg?style=flat&label=Discord %3C3%20&color=7289DA%22" alt="Join Community Badge"/></a>
</p>
The Development is still in progress. Please report any issues you find.

<h2 align="center"> Description </h2>
This is the main page for Yiimpool Yiimp Install script. Here you find information all documentation about <b> Yiimpool Yiimp Installer v0.5.6</b><p>The installer automatically install all requirements to get Yiimp installed correctly.</p><p><b> Yiimpool Yiimp Install Scrypt</b> is a Script that will install <b> Yiimp</b> Mining Pool on a clean<b>Ubuntu 18.04 VPS.</p>
This is the main page for Yiimpool Yiimp Install script. Here you find information all documentation about <b> Yiimpool Yiimp Installer v0.5.7</b><p>The installer automatically install all requirements to get Yiimp installed correctly.</p><p><b> Yiimpool Yiimp Install Scrypt</b> is a Script that will install <b> Yiimp</b> Mining Pool on a clean<b>Ubuntu 18.04 VPS.</p>

More information will be added soon.
<p align="center">
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
#########################################################
if [ -z "${TAG}" ]; then
TAG=v0.5.6
TAG=v0.5.7
fi


Expand Down
8 changes: 4 additions & 4 deletions install/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function install_end_message {
figlet -f slant -w 100 "Complete!"

echo -e "$CYAN --------------------------------------------------------------------------- $COL_RESET"
echo -e "$YELLOW | Version:$GREEN v0.5.6 | $COL_RESET"
echo -e "$YELLOW | Version:$GREEN v0.5.7 | $COL_RESET"
echo -e "$YELLOW Yiimp Installer Script Fork By Afiniel https://github.com/afiniel/yiimp_install_script $COL_RESET"
echo -e "$CYAN --------------------------------------------------------------------------- $COL_RESET"
echo -e "$YELLOW Your mysql information (login/Password) is saved in:$RED ~/.my.cnf $COL_RESET"
Expand Down Expand Up @@ -113,7 +113,7 @@ function term_art {
echo " ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ "
echo -e "$CYAN ----------------------------------------------------------> $COL_RESET"
echo -e "$CYAN |$YELLOW Yiimp Installer Script Fork By Afiniel! $COL_RESET"
echo -e "$CYAN |$MAGENTA Version:$GREEN v0.5.6 $COL_RESET"
echo -e "$CYAN |$MAGENTA Version:$GREEN v0.5.7 $COL_RESET"
echo -e "$CYAN ----------------------------------------------------------------------> $COL_RESET"
echo -e "$CYAN |$YELLOW This script will install all the dependencies and will install Yiimp. $COL_RESET"
echo -e "$CYAN |$YELLOW It will also install a MySQL database and a Web server. $COL_RESET"
Expand Down Expand Up @@ -169,14 +169,14 @@ function hide_output {
function last_words {
echo "<-------------------------------------|---------------------------------------->"
echo
echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.5.6! $COL_RESET"
echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.5.7! $COL_RESET"
echo
echo -e "$YELLOW To run this installer anytime simply type: $GREEN yiimpool $COL_RESET"
echo -e "$YELLOW Donations for continued support of this script are welcomed at: $COL_RESET"
echo "<-------------------------------------|--------------------------------------->"
echo -e "$YELLOW Donate Wallets: $COL_RESET"
echo "<-------------------------------------|--------------------------------------->"
echo -e "$YELLOW Thank you for using Yiimp Install Script v0.5.6 fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script v0.5.7 fork by Afiniel! $COL_RESET"
echo
echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET"
echo -e "$YELLOW => Do you want to support me? Feel free to use wallets below: $COL_RESET"
Expand Down
2 changes: 1 addition & 1 deletion install/menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

source /etc/functions.sh

RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Menu v0.5.6" --menu "Choose one" -1 60 16 \
RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Menu v0.5.7" --menu "Choose one" -1 60 16 \
' ' "- Install Yiimp -" \
1 "YiiMP Single Server" \
' ' "- Daemon Wallet Builder -" \
Expand Down
2 changes: 1 addition & 1 deletion install/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ else
cd $HOME/yiimp_install_script/install
source menu.sh
echo "<-------------------------------------|--------------------------------------->"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.6 $YELLOW fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.7 $YELLOW fork by Afiniel! $COL_RESET"
echo
echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET"
echo "<----------------------------------------------------------------------------->"
Expand Down
3 changes: 1 addition & 2 deletions yiimp_single/db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ sudo mysql -u root -p"${DBRootPassword}" "${YiiMPDBName}" --force <2019-03-coins
sudo mysql -u root -p"${DBRootPassword}" "${YiiMPDBName}" --force <2020-06-03-blocks.sql
sudo mysql -u root -p"${DBRootPassword}" "${YiiMPDBName}" --force <2022-10-14-shares_solo.sql
sudo mysql -u root -p"${DBRootPassword}" "${YiiMPDBName}" --force <2022-10-29-blocks_effort.sql
sudo mysql -u root -p"${DBRootPassword}" "${YiiMPDBName}" --force <2022-11-05-blocks_effort.sql
echo -e "$GREEN <-- Datebase import $GREEN complete -->$COL_RESET"
echo -e "$YELLOW <-- Datebase import $GREEN complete -->$COL_RESET"

echo -e "$YELLOW => Tweaking MariaDB for better performance <= $COL_RESET"
if [[ ("$wireguard" == "false") ]]; then
Expand Down
12 changes: 2 additions & 10 deletions yiimp_single/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
# Updated by Afiniel for yiimpool use... #
##################################################################################

#!/usr/bin/env bash

#####################################################
# This is the entry point for configuring the system.
# Source https://mailinabox.email/ https://github.com/mail-in-a-box/mailinabox
# Updated by afiniel for crypto use...
#####################################################

source /etc/functions.sh
source /etc/yiimpool.conf

Expand Down Expand Up @@ -80,7 +72,7 @@ if [[ ("$UsingDomain" == "yes") ]]; then
echo -e "$MAGENTA <--------------|------------>$COL_RESET"
echo -e "$MAGMENTA |$COL_RESET"
echo "<-----------------------------------|----------------------------------------->"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.6 $YELLOW fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.7 $YELLOW fork by Afiniel! $COL_RESET"
echo
echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET"
echo "<----------------------------------------------------------------------------->"
Expand Down Expand Up @@ -117,7 +109,7 @@ else
echo -e "$MAGENTA <--------------|------------->$COL_RESET"
echo -e "$MAGMENTA |$COL_RESET"
echo "<-----------------------------------|$COL_RESET ----------------------------------------->"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.6 $YELLOW fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.5.7 $YELLOW fork by Afiniel! $COL_RESET"
echo
echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET"
echo "<----------------------------------------------------------------------------->"
Expand Down
2 changes: 0 additions & 2 deletions yiimp_single/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ else
hide_output sudo update-grub-legacy-ec2 -y
apt_get_quiet upgrade
fi
echo
echo -e "$GREEN <-- Done -->$COL_RESET"

# Dist Upgrade
apt_get_quiet dist-upgrade
Expand Down
2 changes: 1 addition & 1 deletion yiimp_single/ubuntu/etc/update-motd.d/00-header
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ fi
figlet -f slant -w 100 "YiimpooL"
printf "\n"

printf "Welcome to %s (%s).\n" "$DISTRIB_DESCRIPTION" "YiimPool Version v0.5.6"
printf "Welcome to %s (%s).\n" "$DISTRIB_DESCRIPTION" "YiimPool Version v0.5.7"
printf "\n"

0 comments on commit 3539ed0

Please sign in to comment.