MySQL OLTP (Transactional) - Hammerora - SourceForge
MySQL OLTP (Transactional) - Hammerora - SourceForge
MySQL OLTP (Transactional) - Hammerora - SourceForge
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<br />
<br />
127.0.0.1<br />
3306<br />
<br />
<br />
<br />
1<br />
1<br />
root<br />
mysql<br />
tpcc<br />
innodb<br />
<br />
<br />
1000000<br />
false<br />
false<br />
standard<br />
2<br />
5<br />
<br />
<br />
<br />
…<br />
SUT Database Server Installation<br />
Installation and configuration of the <strong>MySQL</strong> Database on your chosen operating system is beyond the scope<br />
of this document. We recommend using one of the many tutorials available on the web for example:<br />
http://dev.mysql.com/doc/refman/5.5/en/installing.html . You should have the <strong>MySQL</strong> database software<br />
installed and running. Make sure you set a password for either the root user or a user with the correct<br />
privileges to create the TPC-C database, for example:<br />
[root@sut bin]# ./mysqladmin -u root password mysql<br />
Network Connectivity<br />
By default a <strong>MySQL</strong> installation will allow connection to the local server only, you must grant permission to<br />
connect to the <strong>MySQL</strong> database from your load generation server, the following example grants all<br />
permissions to the root user on the system called test.example.com.<br />
mysql> grant all on *.* to root@'test.example.com' identified by<br />
'mysql';<br />
Query OK, 0 rows affected (0.00 sec)<br />
mysql> flush privileges;<br />
Query OK, 0 rows affected (0.00 sec)<br />
Alternatively after the test database is created you can restrict the privileges to that databases only.<br />
mysql> grant all on tpcc.* to root@'test.example.com' identified by<br />
'mysql';