Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MySQL config problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
aschueckler
n00b
n00b


Joined: 15 Dec 2010
Posts: 2

PostPosted: Sat Dec 18, 2010 12:01 am    Post subject: MySQL config problems Reply with quote

I followed the guide to install mysql here but after a successful emerge of mysql i tried running
Code:
emerge --config =dev-db/mysql-5.1.51
The response was
Code:
No packages found.
How can I finish setting up mysql? I've looked around on the forums, but I haven't seen anyone run into this. Any help anyone can offer is appreciated.

-Alan
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Dec 18, 2010 12:22 am    Post subject: Reply with quote

Code:
emerge -s mysql
and check version installed.
Back to top
View user's profile Send private message
aschueckler
n00b
n00b


Joined: 15 Dec 2010
Posts: 2

PostPosted: Sat Dec 18, 2010 12:42 am    Post subject: Reply with quote

Code:

  dev-db/mysql-proxy [ Masked ]
      Latest version available: 0.8.0-r1
      Latest version installed: [ Not Installed ]
      Size of files: 738 kB
      Homepage:      http://forge.mysql.com/wiki/MySQL_Proxy
      Description:   A Proxy for the MySQL Client/Server protocol
      License:       GPL-2

*  dev-db/mysql-super-smack
      Latest version available: 1.2
      Latest version installed: [ Not Installed ]
      Size of files: 97 kB
      Homepage:      http://jeremy.zawodny.com/mysql/super-smack/
      Description:   MySQL Super Smack is a benchmarking, stress testing, and lo                                                                             ad generation tool for MySQL & PostGreSQL.
      License:       GPL-2

*  dev-db/mysql-workbench [ Masked ]
      Latest version available: 5.2.31
      Latest version installed: [ Not Installed ]
      Size of files: 17,550 kB
      Homepage:      http://dev.mysql.com/workbench/
      Description:   MySQL Workbench
      License:       GPL-2

*  dev-db/mysqltuner
      Latest version available: 1.1.1
      Latest version installed: [ Not Installed ]
      Size of files: 23 kB
      Homepage:      http://www.mysqltuner.com
      Description:   MySQLTuner is a high-performance MySQL tuning script
      License:       GPL-3

*  dev-dotnet/mysql-connector-net [ Masked ]
      Latest version available: 6.2.3
      Latest version installed: [ Not Installed ]
      Size of files: 893 kB
      Homepage:      http://www.mysql.com/products/connector/net/
      Description:   MySql ADO.NET connector
      License:       GPL-2

*  dev-haskell/hsql-mysql [ Masked ]
      Latest version available: 1.7.1
      Latest version installed: [ Not Installed ]
      Size of files: 3 kB
      Homepage:      http://hackage.haskell.org/cgi-bin/hackage-scripts/package/                                                                             hsql-mysql
      Description:   MySQL driver for HSQL.
      License:       BSD

*  dev-java/jdbc-mysql
      Latest version available: 5.1.11
      Latest version installed: 5.1.11
      Size of files: 3,647 kB
      Homepage:      http://www.mysql.com/products/connector/j/
      Description:   MySQL JDBC driver
      License:       GPL-2-with-MySQL-FLOSS-exception

*  dev-ml/ocaml-mysql
      Latest version available: 1.0.4
      Latest version installed: [ Not Installed ]
      Size of files: 116 kB
      Homepage:      http://raevnos.pennmush.org/code/ocaml-mysql/index.html
      Description:   A package for ocaml that provides access to mysql databases                                                                             .
      License:       LGPL-2

*  dev-perl/Class-DBI-mysql
      Latest version available: 1.00
      Latest version installed: [ Not Installed ]
      Size of files: 6 kB
      Homepage:      http://search.cpan.org/~tmtm/Class-DBI-mysql-1.00/
      Description:   Extensions to Class::DBI for MySQL
      License:       || ( Artistic GPL-2 )

*  dev-perl/DBD-mysql
      Latest version available: 4.01.7
      Latest version installed: [ Not Installed ]
      Size of files: 129 kB
      Homepage:      http://search.cpan.org/dist/DBD-mysql/
      Description:   The Perl DBD:mysql Module
      License:       || ( Artistic GPL-1 GPL-2 GPL-3 )

*  dev-perl/Time-Piece-MySQL [ Masked ]
      Latest version available: 0.06
      Latest version installed: [ Not Installed ]
      Size of files: 3 kB
      Homepage:      http://search.cpan.org/dist/Time-Piece-MySQL/
      Description:   MySQL-specific functions for Time::Piece
      License:       || ( Artistic GPL-2 )

*  dev-php/PEAR-MDB2_Driver_mysql
      Latest version available: 1.5.0_alpha2
      Latest version installed: [ Not Installed ]
      Size of files: 38 kB
      Homepage:      http://pear.php.net/MDB2_Driver_mysql
      Description:   Database Abstraction Layer, mysql driver
      License:       BSD

*  dev-php/PEAR-MDB2_Driver_mysqli
      Latest version available: 1.5.0_alpha2
      Latest version installed: [ Not Installed ]
      Size of files: 40 kB
      Homepage:      http://pear.php.net/MDB2_Driver_mysqli
      Description:   Database Abstraction Layer, mysqli driver
      License:       BSD

*  dev-python/mysql-python
      Latest version available: 1.2.3
      Latest version installed: [ Not Installed ]
      Size of files: 68 kB
      Homepage:      http://sourceforge.net/projects/mysql-python/ http://pypi.p                                                                             ython.org/pypi/MySQL-python
      Description:   Python interface to MySQL
      License:       GPL-2

*  dev-ruby/dbd-mysql
      Latest version available: 0.4.3
      Latest version installed: [ Not Installed ]
      Size of files: 55 kB
      Homepage:      http://ruby-dbi.rubyforge.org
      Description:   The MySQL database driver (DBD) for Ruby/DBI
      License:       BSD

*  dev-ruby/mysql-ruby
      Latest version available: 2.8.1-r1
      Latest version installed: [ Not Installed ]
      Size of files: 33 kB
      Homepage:      http://www.tmtm.org/en/mysql/ruby/
      Description:   A Ruby extension library to use MySQL
      License:       Ruby

*  dev-tcltk/mysqltcl
      Latest version available: 2.40
      Latest version installed: [ Not Installed ]
      Size of files: 139 kB
      Homepage:      http://www.xdobry.de/mysqltcl/
      Description:   TCL MySQL Interface
      License:       as-is

*  net-analyzer/nagios-check_mysql_health [ Masked ]
      Latest version available: 2.1.1
      Latest version installed: [ Not Installed ]
      Size of files: 114 kB
      Homepage:      http://labs.consol.de/lang/de/nagios/check_mysql_health/
      Description:   A nagios plugin for checking MySQL server health
      License:       BSD

*  net-irc/oer-mysql
      Latest version available: 1.0.43
      Latest version installed: [ Not Installed ]
      Size of files: 151 kB
      Homepage:      http://oer.equnet.org/
      Description:   Free to use GPL'd IRC bot
      License:       GPL-2

*  net-zope/zmysqlda
      Latest version available: 2.0.8
      Latest version installed: [ Not Installed ]
      Size of files: 12 kB
      Homepage:      http://sourceforge.net/projects/mysql-python
      Description:   A MySQL Database Adapter(DA) for zope
      License:       || ( GPL-2 CNRI )

*  sec-policy/selinux-mysql [ Masked ]
      Latest version available: 20080525
      Latest version installed: [ Not Installed ]
      Size of files: 328 kB
      Homepage:      http://www.gentoo.org/proj/en/hardened/selinux/
      Description:   SELinux policy for mysql
      License:       GPL-2

*  sys-auth/libnss-mysql
      Latest version available: 1.5_p20060915-r1
      Latest version installed: [ Not Installed ]
      Size of files: 673 kB
      Homepage:      http://libnss-mysql.sourceforge.net/
      Description:   NSS MySQL Library.
      License:       GPL-2

*  sys-auth/pam_mysql
      Latest version available: 0.7_rc1-r1
      Latest version installed: [ Not Installed ]
      Size of files: 327 kB
      Homepage:      http://pam-mysql.sourceforge.net/
      Description:   pam_mysql is a module for pam to authenticate users with my                                                                             sql
      License:       GPL-2

*  virtual/mysql
      Latest version available: 5.1
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:
      Description:   Virtual for MySQL client or database
      License:

*  www-apache/mod-auth-mysql [ Masked ]
      Latest version available: 4.3.9
      Latest version installed: [ Not Installed ]
      Size of files: 67 kB
      Homepage:      http://packages.debian.org/source/mod-auth-mysql
      Description:   A module for the Apache 2 web server which enables HTTP aut                                                                             hentication against information stored in a MySQL database.
      License:       Apache-1.1

*  www-apache/mod_auth_cookie_mysql2 [ Masked ]
      Latest version available: 1.0
      Latest version installed: [ Not Installed ]
      Size of files: 7 kB
      Homepage:      http://home.digithi.de/digithi/dev/mod_auth_cookie_mysql/
      Description:   An Apache2 backend authentication module that uses cookies                                                                              and MySQL.
      License:       GPL-2

*  www-apache/mod_auth_mysql
      Latest version available: 3.0.0-r2
      Latest version installed: [ Not Installed ]
      Size of files: 18 kB
      Homepage:      http://modauthmysql.sourceforge.net/
      Description:   Basic authentication for Apache using a MySQL database.
      License:       Apache-1.1

localhost ~ #



This is the readout. I believe the version of mysql is accurate to what I put above.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Dec 18, 2010 12:56 am    Post subject: Reply with quote

Quote:
~ # emerge -s mysql
Searching...
[ Results for search key : mysql ]
[ Applications found : 32 ]

* dev-db/mysql
Latest version available: 5.1.51
Latest version installed: 5.1.51
Size of files: 29,214 kB
Homepage: http://www.mysql.com/
Description: A fast, multi-threaded, multi-user SQL database server.
License: GPL-2
should be the top of your search. Something odd has happened to your package list. Suggest :
Code:
emerge --sync
emerge mysql
emerge -s mysql #package should show
emerge --config =dev-db/mysql-5.1.51
Back to top
View user's profile Send private message
augury
l33t
l33t


Joined: 22 May 2004
Posts: 722
Location: philadelphia

PostPosted: Sat Dec 18, 2010 2:55 am    Post subject: Reply with quote

emerge --config dev-db/mysql
Back to top
View user's profile Send private message
HeavenlyAvenger
n00b
n00b


Joined: 12 Apr 2011
Posts: 21

PostPosted: Sun Aug 14, 2016 5:52 pm    Post subject: Reply with quote

this old thread helped me on a recent (v13) installation of gentoo.

It seems I had /etc/init.d/mysql, mysql (mysqlclient) and mysqld.

The service didn't start and I had no /var/lib/mysql. I was getting an error related to replicate settings not set while trying to start the service, that I should specify commands for logging. The message started with "No argument was provided to --log-bin, and...".

I found in mysql guide that I should (roughly) do emerge --config mysql but got 'no packages found' no matter how specific I was on the ebuild.

So then when I visited this topic, tried the suggestions here and I had no virtual/mysql nor dev-db/mysql installed from emerge -s mysql ALTHOUGH I had [ R ] dev-db/mysql-5.6-r6 while trying to simply emerge mysql.

Then I emerged virtual/mysql (which was treated as new), and ignored emerge's claim of "rebuild" for dev-db/mysql and re-emerged it.

Voila, emerge --config worked and rest of history is clearly everything will work. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum