Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: a55830 on September 04, 2006, 07:05:50 PM
-
Hi can any one help me
i need to make a sql db om my sme 7.0 server
please help
-
What do you need to know about MySQL on SMEserver?
If you need help with building a MySQL database have a look here:
http://mysql.com/support/
Dave
-
Hi can any one help me
i need to make a sql db om my sme 7.0 server
please help
[Log in to your console as root and issue the following line to log in to mysql as root user:
mysql -u root
To create a database:create database db_name
Create a user with all privileges for the database just created :grant all privileges on db_name.* to username@localhost identified by password;
flush privileges;
You now have created a user which can access the database from the localhost (so server only access). For more details see the MySQL manual on creating databases (http://dev.mysql.com/doc/refman/4.1/en/create-database.html) and assigning user(privilege)s (http://dev.mysql.com/doc/refman/4.1/en/grant.html).
-
thx for the help
iv now created my db
and the user
i get query OK , 0 rowa affected (0.03 sec)
how do i connect to it ???
i like to use MySQL admin
-
thx for the help
iv now created my db
and the user
i get query OK , 0 rowa affected (0.03 sec)
how do i connect to it ???
i like to use MySQL admin
mysqladmin can be accessed from the command line just like the mysql command. For help typemysqladmin --help
-
well iv done that but im not in to text (command line) is there not a way i can connect from my windows machine and doo it not "command line" way but window way :-D :-D
-
well iv done that but im not in to text (command line) is there not a way i can connect from my windows machine and doo it not "command line" way but window way :-D :-D
Install the phpmyadmin contrib found in the contrib section (http://no.longer.valid/phpwiki/index.php?ContribsPage), this will make mysql available in a web interface or search the FAQ how to connect to mysql from your local network and use your favorite tool (e.g. Navicat, MySQL Adminstrator).
-
ok i got the file
well my linux is not the best so can you pin out what to doo :-?
im a bit lost
-
ok i got the file
well my linux is not the best so can you pin out what to doo :-?
im a bit lost
If you've already downloaded the .rpm just install via yum
yum localinstall <rpm file>
-
Make a directory for different extra rpms on server and cd to it
and then do
-------------------------------------------------------------
wget http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/smeserver-phpmyadmin-2.6.4-pl4.dmay.noarch.rpm
yum localinstall smeserver-phpmyadmin-2.6.4-pl4.dmay.noarch.rpm
-------------------------------------------------------------
or the rpm file name
then do
-------------------------------------------------------------
Connect to your server with
-----------------------------
https://xxx.xxx.xxx.xxx/phpmyadmin
use your admin conto and password
Then create a new user fks admin
---------------------------------
admin
localhost
adminspassword
adminspassword
and create
Finish close myphpadmin
----------------------------------------
Hope that could get you going
Have been there myself and many peaple have helped me Here
on Contribs.org Faq so i say thanks to all you know who you are
Speciel to
Mr John Bennet the third
Edited 06-09-2006 time europa:08:07 Jan Advise From CACTUS Thanks
Jan in DK
-
If you want to stay working in windows...
ssh(Putty) into SME and do...
/sbin/e-smith/config setprop mysqld LocalNetworkingOnly no
/sbin/e-smith/expand-template /etc/my.cnf
/etc/rc.d/init.d/mysqld restart
If it wont restart then reboot...
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
Then...
mysql
GRANT ALL PRIVILEGES ON *.* TO 'SQLyog'@'ip_of_windows_box' IDENTIFIED BY 'newpassword' WITH GRANT OPTION ;
\q
Then get a copy of SQLyog Free Edition from http://www.webyog.com/en/index.php and run it on your windows machine.
-
THX
i cant thank you enough for the great help
ill hope i can bee that good one day so i can help some one like me
-
wget http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/smeserver-phpmyadmin-2.6.4-pl4.dmay.noarch.rpm
rpm -Uvh *.rpm
IPlease use yum localinstall instead of rpm -Uvh. Yum is the preferred method of installing rpm's for SME Server as this will also try and download all neccesarry dependencies.