Re: Mysql



On 2008-03-27 22:38, Blattus Slafaly 0/00 ? ? ? wrote:
Michael Soibelman wrote:
Blattus Slafaly 0/00 ? ? ? wrote:

When you install Mysql with yast it creates lots of mysql directories.
Which directory is the database directory?



If you mean 'where is the actual data stored' then it
is /var/lib/mysql/'your-application-database-name'. If you want to know
where the configuration files are stored it is /usr/share/mysql. However,
the 'main' configuration file is /etc/mysql.cnf

At least that's my 'observation'...

Why ain't there a GUI interface to operate the piece of crap? You have to do all this secret back door crap to get this thing working.


The secrets are to read instructions.

Just do rcmysql start and it TELL YOU what to do.
Set the password for root and root@xxxxxxxxxxxxxxx

Create the file /root/.my.cnf , make it readable only for root.
add:

[client]
user = root
password = 'the password for root'


Now you can do mysqlshow , mysqladmin, mysql , mysqldump without passwords and things as root.

and install mysql-administrator from mysql.com if you need a GUI.

/bb
.



Relevant Pages

  • Re: Mysql
    ... Which directory is the database directory? ... where the configuration files are stored it is /usr/share/mysql. ... Create the file /root/.my.cnf, make it readable only for root. ... Now you can do mysqlshow, mysqladmin, mysql, mysqldump without passwords and things as root. ...
    (alt.os.linux.suse)
  • Re: Mysql
    ... Which directory is the database directory? ... where the configuration files are stored it is /usr/share/mysql. ... to do all this secret back door crap to get this thing working. ... P.S. Try that behavior in MySQL or php groups... ...
    (alt.os.linux.suse)
  • Re: Mysql
    ... Which directory is the database directory? ... where the configuration files are stored it is /usr/share/mysql. ... Why ain't there a GUI interface to operate the piece of crap? ... You have to do all this secret back door crap to get this thing working. ...
    (alt.os.linux.suse)
  • Re: Mysql
    ... Michael Soibelman wrote: ... Which directory is the database directory? ... where the configuration files are stored it is /usr/share/mysql. ... You have to do all this secret back door crap to get this thing working. ...
    (alt.os.linux.suse)
  • Re: Run script as root from WebServer
    ... Note, that configuration files that are modifyable by root only, often are for a reason, so this does not improve the security of the service being configured, but it takes a forkand sudo out of the mix. ... server is written using the standard python SimpleXMLRPCServer, ... do not have serious authentication. ...
    (freebsd-questions)