Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hammerdb/hammerdb_scripts/mssql/build_mssql.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if {!$complete} {after 5000 wait_to_complete} else { exit }
dbset db mssqls
dbset bm TPC-C
diset connection mssqls_linux_server 127.0.0.1
diset connection mssqls_pass abcdefgh
diset connection mssqls_pass A2!bcdefgh
diset tpcc mssqls_count_ware 500
diset tpcc mssqls_num_vu 40

Expand Down
2 changes: 1 addition & 1 deletion hammerdb/hammerdb_scripts/mssql/runtest_mssql.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if {!$complete} {after 5000 wait_to_complete} else { exit }
dbset db mssqls
dbset bm TPC-C
diset connection mssqls_linux_server 127.0.0.1
diset connection mssqls_pass abcdefgh
diset connection mssqls_pass A2!bcdefgh
diset tpcc mssqls_driver timed
diset tpcc mssqls_count_ware 500
diset tpcc mssqls_num_vu 100
Expand Down
14 changes: 7 additions & 7 deletions hammerdb/install-script
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ install_mssql()
cd /opt/mssql/bin/
mkdir /var/opt/mssql/secrets/

MSSQL_SA_PASSWORD="abcdefgh"
MSSQL_SA_PASSWORD="A2!bcdefgh"
export MSSQL_SA_PASSWORD
export MSSQL_PID="Evaluation"

Expand All @@ -60,10 +60,10 @@ install_mssql()

echo 1 > input
echo Yes >> input
echo abcdefgh >> input
echo abcdefgh >> input

echo A2!bcdefgh >> input
echo A2!bcdefgh >> input
./mssql-conf -n setup accept-eula < input
rm input

sleep 30
systemctl stop mssql-server
Expand Down Expand Up @@ -135,14 +135,12 @@ install_mariadb()

systemctl restart mariadb.service

#echo "UPDATE mysql.user SET Password=PASSWORD('abcdefgh') WHERE User='root';" > input
#echo "GRANT ALL ON *.* to root@'%' IDENTIFIED BY 'abcdefgh';" >> input
echo "SET PASSWORD FOR 'root'@localhost = PASSWORD('mysql');" > input
echo "flush privileges;" >> input
echo "exit" >> input

mysql -u root < input

rm input
sleep 30
systemctl restart mariadb.service
}
Expand Down Expand Up @@ -194,6 +192,7 @@ install_postgres()
echo "alter role postgres password 'postgres'" > input

psql -U postgres -d postgres < input
rm input
sleep 30
systemctl restart postgresql.service
}
Expand Down Expand Up @@ -279,6 +278,7 @@ echo HammerDB-3.2-Linux-x86-64-Install installed.
echo "y" > input
echo "$hmd_dir" >> input
${hmd_dir}/HammerDB-3.2-Linux-x86-64-Install < input
rm input

#
# Shutdown all running instances
Expand Down
Loading