Ok, i decided to try and re-install from the binary from the mysql.com website... and i get this error when trying to install it:
[root@localhost mysql]# scripts/mysql_install_db --user=mysql
Installing all prepared tables
./bin/mysqld: Can't read dir of '/root/tmp/' (Errcode: 13)
Fill help tables
./bin/mysqld: Can't read dir of '/root/tmp/' (Errcode: 13)
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h localhost password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at
https://order.mysql.com
[root@localhost mysql]#
and once again its a problem with reading the tmp dir... i checked to see if root owns that dir (i messed up ownership yesterday...) and it does... im so confused... im trying to learn to implement MySQL into c++ and without begin able to use mysql its kind of pointless..
EDIT:
sorry for posting so many times... i had just reolized stuff that could help someone help me and didnt think of using edit to post it until just now...