Skip to content
Advertisement

Tag: mysql

Install mysql 57 on OS Oracle Linux 6.9: Error: Package

On OS Oracle Linux I’ve tried to install, MySQL community server 5.7 running the commands below: It returned the following error: Error: Package: mysql-community-client-5.7.19-1.el7.x86_64 (mysql57-community) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: perl-DBD-MySQL-4.013-3.el6.x86_64 (@public_ol6_latest) Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit) Removing: mysql-libs-5.1.73-8.0.1.el6_8.x86_64 (@public_ol6_latest) libmysqlclient.so.16(libmysqlclient_16)(64bit) Obsoleted By: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-community) Not found Available: mysql-libs-5.1.47-4.el6.x86_64 (public_ol6_latest) libmysqlclient.so.16(libmysqlclient_16)(64bit) Available: mysql-libs-5.1.52-1.el6_0.1.x86_64 (public_ol6_latest) libmysqlclient.so.16(libmysqlclient_16)(64bit) Available: mysql-libs-5.1.61-1.el6_2.1.x86_64 (public_ol6_latest) libmysqlclient.so.16(libmysqlclient_16)(64bit) Available: mysql-libs-5.1.61-4.el6.x86_64 (public_ol6_latest) libmysqlclient.so.16(libmysqlclient_16)(64bit) Available:

When I clone a mysql database, with data_directory set on individual tables, where do the cloned tables get stored as files?

So I have a MySQL database with innodb_file_per_table true and the majority of the database in one SSD, and one huge table on a separate drive. The majority of the files are stored in /var/lib/mysql/database1/ but by setting DATA_DIRECTORY on a table (set to /home/that_table), such that that table’s files are stored instead in /home/that_table/database1 If I clone database1 to

phpmyadmin: Can’t login

I have installed phpmyadmin in a Linode Server. I set mysql password but when I’m trying to login via phpmyadmin interface I get the message: I also tried via terminal: mysql -u root -p root And then I got the following message: My config.inc.php file is: Answer Watch out for special characters that may need escaping in some contexts. When

First time using MySQLdb in Arch Linux (Manjaro) show error

it’s first time i using MySQLdb on python and i using Manjaro, when i tried to run my program. The error always show like : Many people suggest me to add file mysqld.sock ang yes i did it, but still error with the same error. And i get suggest to install mysql-client, python-mysql-connector, mysql-python, But still error. Answer According to

linux bash script log output

Im having trouble getting output into my log file in my script. Backup runs successfully but the logfile is empty. WHen I run the script I get “Warning: Using a password on the command line interface can be insecure.” so at least that should be in a log file. (I am using a .key file) Answer Thats because, only error

I can’t access remote mysql server via local phpmyadmin

I’m trying to access my remote mysql server via my local phpmyadmin setup(from xampp installation). Here is my config.inc.php file for phpmyadmin: I get this error: Answer the remote mysql server that you want to connect has to be configured to allow or take request other than localhost. Check firewall is allowing port 3306 (both incoming and outgoing). Now we

Make permanent connection with MySQL (Apache Spark)

If I execute these commands in spark-shell it correctly returns the data in the “people” table: The problem is if I close spark-shell and return it open, the connection to the database is not maintained. Answer As per Spark’s documentation, SparkContext and HiveContext get created inside the spark shell (when spark-shell command is executed) with HiveContext defined as SQLContext. As

Advertisement