New answers tagged

1

Your problem there are in locale configurations your system . Type this to fixed your problem first run locale generate the missing locale and reconfigure locales sudo locale-gen "en_US.UTF-8" && sudo dpkg-reconfigure locales see more : How do I fix my locale issue?


0

Change driver to newest, and it works.


0

This is the best way to add php 5.5 mcrypt extension on Ubuntu 14.04 Server sudo apt-get install php5-mcrypt sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available sudo php5enmod mcrypt sudo service apache2 restart


0

You forgot to quote the password in the query and you assigned non-existing QUERY1 variable to SQL. This should work: QUERY="GRANT ALL PRIVILEGES ON db.* TO 'user'@'localhost' IDENTIFIED BY '$PASSWORD';" mysql -uroot -p$PASSWORD -hlocalhost -e "$QUERY"


1

You can check xampp. It will install all of them. It is also available for ubuntu. Download .run file and install it like this chmod 755 xampp-linux-*-installer.run sudo ./xampp-linux-*-installer.run After this, you can run this like this. sudo /opt/lampp/lampp start And to stop sudo /opt/lampp/lampp stop This will run its command line tool. It ...


0

There shouldn't be a compatibility issue with Ubuntu 14.04. If you upgrade, your server software will be updated too. (If you specifically don't want to upgrade the server software, then don't upgrade Ubuntu because trying to use an older version of software with a newer Ubuntu version is always a fight against the package manager.)


0

Please check this URL it will tell you how to do it and use very easy way How To Setup Ubuntu 14.* Included Desktop(xUbuntu) / MySql / PHP (Apache 2 ) In VMware


0

Security and encryption has been one of the issues with Redis. In their latest release they have probably taken care of it. http://blogs.alachisoft.com/ncache/a-good-redis-alternative-open-source-distributed-cache/


1

I have tried it many times and all software is work on VMware, hopefully it is a great way to help someone who has the same problems like me, please follow my steps , it will assist you to handle all processes Step1 Ubuntu 14. Please download Ubuntu and use it in VM http://www.ubuntu.com/download/server like as picture ...


0

For some reason, phpmyadmin is not able to read Crypt/Random.php file, if placed in /usr/share/php folder. Moreover, I have tried also /usr/local/share/php5 with the same result. Finally I have copied whole Crypt folder from /usr/share/php into /usr/share/phpmyadmin/libraries/ cp -r /usr/share/php/Crypt /usr/share/phpmyadmin/libraries/ and modified ...


0

This happened to me when i removed mysql-server and tried to reinstall. The way i solved this was by running the following sudo apt-get purge mysql-server mysql-client mysql-common mysql-client-5.5 mysql-server-5.5 mysql-client-5.6 mysql-server-5.6 sudo apt-get autoremove sudo apt-get autoclean sudo rm -rf /etc/mysql sudo apt-get install mysql-server ...


0

Had the same problem on Ubuntu 15.10. https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1434758 - brought the solution: check if /lib/systemd/system/mysql.service or /lib/systemd/system/mysqld.service is existing (in my case) if not, create /lib/systemd/system/mysql.service and copy content of to this file ...


0

You need to enable the mcrypt module: sudo php5enmod mcrypt sudo service apache2 restart


0

user185719's answer helped me only partially, because the reported error persisted: session.inc.php was not able to include Random.php. Calling file_exists() on the Random.php always returnes false, while there are no permission issues, no safe_mode, so I don't really understand why this does not work as expected. I had to do the following workaround to get ...


0

This problem is not about virtual host configuration, because the site is loading a page. Also, it's not a php problem, otherwise any of the server sites would not be running. Verify the file wp-config.php for wordpress in site having connection problem. You also can try a command line connection to database, using root authentication credentials: $ ...


1

It looks like the Random.php from the phpseclib has changed. I did a fast fix with changing: $_SESSION[' PMA_token '] = bin2hex(phpseclib\Crypt\Random::string(16)); on line 116 and 135 with $_SESSION[' PMA_token '] = bin2hex(crypt_random_string(16)); in the file /usr/share/phpmyadmin/libraries/session.inc.php This should fix it for now until the ...


3

apt-get does not delete data files when you remove a package. It might remove configuration files if you instruct it to purge (but that's not default behavior). By default, mysql databases reside in /var/lib. Your dbs should be there.


0

I had exactly this same problem in Debian 7.0 - Wheezy. Upon MySql start, the system was trowing the error: [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys' I did some investigating based on this post, and found out the file /usr/share/mysql/english/errmsg.sys was missing. For me it was enough to install: apt-get install --reinstall ...


3

Try this: mysqladmin -u root -p or mysqladmin -u root --password


0

In my case, I was simply trying to install updates and it hung the same way: Setting up mysql-server-5.6 (5.6.28-0ubuntu0.14.04.1) ... The suggestion above didn't work and suggests why the upgrade process had failed: $ sudo service mysql stop stop: Unknown instance: It didn't appear to have the correct PID to stop MySQL, so I stopped it through the ...


0

The literature pointed to a debian flag file to delete if wanting to downgrade mysql from v6 to v5. Removing the flag file was the right answer for my system. Repair was allowed to proceed, and the system is giving hugs to v5.


0

Possible fix run sudo apt-get clean sudo apt-get autoremove sudo apt-get install --fix-missing sudo apt-get purge mysql* whereis mysql (This is needed because in most cases config files are left behind, so as to make reinstalling easier) Remove all files, if any, listed from above. sudo apt-get install mariadb-server mysql-server (The order is ...


0

The first thing you will want to update your repository cache. Always do this before attempting to install or upgrade anything. $ sudo apt-get update You can search for packages at this point using apt-cache you do NOT need root privileges for this: $ apt-cache search mysql-server This will output matching package metadata and simply use apt-get ...


0

Here is my steps of doing this: /etc/init.d/mysql stop sudo killall mysqld_safe sudo killall mysqld sudo mysqld_safe --skip-grant-tables & mysql -u root use mysql; update user set password=PASSWORD("mynewpassword") where User='root'; update user set plugin="mysql_native_password"; quit; /etc/init.d/mysql stop sudo kill -9 $(pgrep mysql) ...


0

It is because you haven't updated your repositories try this sudo apt-get update sudo apt-get upgrade sudo apt-get install mysql-server


0

After searching like a thousand forums and stuff, i tried the barrier=0 option to the root ext4 filesystem. Result: from 33 seconds to 1.5 for the usual scripts. I have no idea how such an option can change things so dramaticaly. I don't know if this is the proper solution to the issue I had, but at least now the laptop is not a very expensive paperweight. ...


0

just posting this reply to save others some time. I had the same problem as OP, digging through the thread he linked to gave me this command: sudo /etc/init.d/mysql restart which tries to restart mysql. In using this command i finally got an error message confirming the problem is the memory being too full: /etc/init.d/mysql: ERROR: The partition ...


0

I know that you are looking to just connect and may just be getting started, but please stop using mysql_connect; I didn't even know it was still even supported at this point A quick reference point to start with PDO is http://php.net/manual/en/book.pdo.php A quick example of what I use for my PDO connection I have a file. We'll call it connection.php ...


0

I'm not sure if this would really constitute as a fix or not, but it's what I did to make it so that the users could write to their directory. chown -R ftpuser:ftpgroup /var/www Afterwards within /etc/apache2/envvars # Since there is no sane way to get the parsed apache2 config in scripts, some # settings are defined via environment variables and then ...


0

VestaCP Team made and successfully tested a script to get rid of that annoying message "The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated". We hope the fix will be useful and help users. Visit the Github page for code. The script: Works from user root Makes a backup of ...


0

Ok, so it seems that linux loop for each files if the option sharedscripts is not defined. Variable $1 contains the actual current rotating file or list of the current rotating files if sharedscripts is defined.


0

Yes, it seems to be permission problem. From your logs, your MySQL cannot create any log files in /var/log/mysql , so you should change the permission to mysql user : chown -R /var/log/mysql and then restart mysql process again.


0

I found out what's the problem. As soon as I input DMZ to 192.168.1.2 the problem solved. Thank you guys for help


0

Do you have Dynamic DNS set up? Your network is private unless you have a business connection. Even then, you must usually set up port forwarding on your business' router. I would actually going to Digital Ocean or another VPS provider and doing that instead. You'll have a much easier time, and I've seen some (not DO) providers with $3 USD a month for a ...


0

Use EXT on the USB. You are not going to be using the MySQL database outside of Linux anyways so use a native filesystem. That will fix all problems you have with permissions. The errno 13 is a permissions error and more than likely related to your filesystem. "ln -s" will also work when using EXT. It is a Linux command so it does not work with Microsoft ...



Top 50 recent answers are included