Koozali.org: home of the SME Server

Howto install MySql

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Howto install MySql
« Reply #30 on: April 03, 2006, 12:31:18 AM »
mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
-------------------------------
Webber Wana Bee

Offline pfloor

  • *****
  • 889
  • +1/-0
Howto install MySql
« Reply #31 on: April 03, 2006, 12:41:15 AM »
Here is how to reset the password:

cd /service/mysqld
runsvctrl d .
cat set.password | /usr/libexec/mysqld --bootstrap \
  --user=mysql --skip-grant-tables
runsvctrl u .

Try loging in again.

If you find that webmail does not work then you need to re-initialize mysql and all the underlying systems.

CAUTION!!! The commands BELOW will delete any databases and return the server to it's original configuration. CAUTION!!!

cd /service/mysqld
runsvctrl d .
/etc/e-smith/events/actions/mysql-delete-db-files
signal-event post-upgrade
signal-event reboot
In life, you must either "Push, Pull or Get out of the way!"

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Howto install MySql
« Reply #32 on: April 03, 2006, 12:42:44 AM »
Ok,, i will try the first one..

And hope that i not have to use

cd /service/mysqld
runsvctrl d .
/etc/e-smith/events/actions/mysql-delete-db-files
signal-event post-upgrade
signal-event reboot
-------------------------------
Webber Wana Bee

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Howto install MySql
« Reply #33 on: April 03, 2006, 12:46:49 AM »
This is the best,,,, So many, many thanks... Try and look. It so great,,,, uhhh nice  :hammer:  My head...

]# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.1.12

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>


Try and look, i come in to, mysql. Jubbbbbbiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
-------------------------------
Webber Wana Bee

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Howto install MySql
« Reply #34 on: April 03, 2006, 01:07:42 AM »
I hope this i ok...

I get the fil

smeserver-phpmyadmin-2.6.4-pl4.dmay.noarch.rpm

then go to the folder, That have the file.. I use just cd /tmp

rpm -Uvh smeserver-phpmyadmin-2.6.4-pl4.dmay.noarch.rpm

And i come in the PhpMyadmin control panel via:

https://server1/phpmyadmin/

Nice. and many, many thanks.
-------------------------------
Webber Wana Bee

Offline gregswallow

  • *
  • 651
  • +1/-0
Re: Howto install MySql
« Reply #35 on: April 03, 2006, 03:25:13 AM »
Quote from: "beeboob"
How to install the newest 4.x of mysql or bette howto install Mysql 5.0


This 3 page story is a perfect example of why you shouldn't upgrade components that are in SME7.  SME uses the CentOS rpms because Redhat and CentOS will provide security updates for mysql and php, etc, until 2012.  "Because it's there" may be a good reason to climb Everest, but not a good reason to install the newest mysql 4.x or 5.

Offline beeboob

  • ****
  • 135
  • +0/-0
    • http://www.normal.dk
Howto install MySql
« Reply #36 on: April 03, 2006, 02:08:36 PM »
Yes it is right. Never do that.

It is very stupid.. Newver just trust are howto. Next time i have to follow are HowTo, i am looking in the forum first..
-------------------------------
Webber Wana Bee

Offline MSmith

  • *
  • 675
  • +0/-0
Howto install MySql
« Reply #37 on: April 03, 2006, 04:20:14 PM »
Wouldn't it have been simpler to just install a fresh copy of SME Server?  I understand wanting to try out various CRM/ERP packages but why not start fresh with each one?
...