Tag Info

New answers tagged

0

PHP is integrated into apache upon installation and so, there is no need to worry. You can put php code into .php files into the web server. Foe example, instead of using index.html, you should use index.php so you can put php code into it. Here's a sample piece of code that can be used and easily understood - <!DOCTYPE html> <html> ...


0

Although I remember doing all of these steps I must have missed some here and there. This resolved my issue http://stackoverflow.com/questions/25244606/completely-remove-mysql-ubuntu-14-04-lts


0

You do not add these to eclipse - they run independently as servers (apache/php and mysql) Download and install eclipse specifically built for web development from PHP Development Tools.


0

I solved the problem in the following way: chown -R mysql:mysql /var/lib/mysql mysql_install_db --user=mysql -ldata=/var/lib/mysql/


0

I found that you have to edit the file /etc/mysql/my.cnf and make the bind-address the ip address you would like to give access to. And if you would like all you write 0.0.0.0


0

Best and easy LAMP installation tutorial.... http://11howto.in/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04/1425/


0

I am not sure what was the case for me, but the other solutions did not work, it kept giving an error. I tried this apt-get purge mysql-*, then autoremove and autoclean. After that installation was fine. ** Be sure to backups your databases, the above command might delete them as well **


0

Thanks to some help from the [H], I was pointed to the fact that I'm using dynamic memory management in Hyper-V, and that it does not work so well with linux operating systems. http://hardforum.com/showthread.php?t=1856145 https://lkml.org/lkml/2014/12/2/662


0

Anything in the log file? less /var/log/messages less /var/log/syslog As for me, first time over at Digital Ocean I burned myself not setting up a swapfile and with the 500mb RAM I quickly learned that this was needed. (e.g. services/server crashed) Maybe you have more memory available, still worth checking. You can check with: sudo swapon -s If this ...


0

Assuming that the server allows remote access, from Mysql.com: MySQL :: MySQL 5.0 Reference Manual :: 4.2.2 Connecting to the MySQL Server, run this command: mysql --host=<mysql_server_ip_address> --user=<mysql_username> --password <mysql_database_name> If the server doesn't use the default MySQL port (3306), append the --port argument ...


0

Use this command mysql -u <username> -p -h db4free.net


0

about the unknown job, mine solved using this sudo /etc/init.d/mysql start instead of this sudo service mysql start Here where I refer


0

First of delete the user created sudo deluser mysql sudo delgroup mysql then stop the processes of the mysql sudo service mysql stop #or mysqld sudo killall -9 mysql sudo killall -9 mysqld sudo apt-get remove --purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autocleansudo deluser mysql ...


0

Use the command below to change the root password for mysql server sudo dpkg-reconfigure mysql-server-5.5


0

Another problem might be that the client you are using is not setting the Message-ID header. To fix that with dovecot use: always_add_missing_headers=yes Funny thing is, in my case it was the GMail mobile client for android which has this behaviour and failed to send mails to *@gmail.com


1

Fairly old question, but still relevant on searches. phpMyAdmin uses plain PHP for config files, and the $cfg['Servers'] array to get the configured servers. So the proper way is to add a new config file in /etc/phpmyadmin/conf.d for every server you want to add. It's only required to end the files name in .php to get them included, but it's a good idea to ...


2

It sounds like the /tmp folder has the sticky bits set This means your permission is denied due to protected_symlinks When protected_symlinks is set to "0", the symlink following behaviour is unrestricted. When set to "1" symlinks are permitted to be followed only when outside a sticky world-writable directory, or when the uid of the symlink and follower ...


1

One trick is to load the whole database into a RAM disk, if it fits. First, create a disk in memory: mount -t tmpfs -o size=350M tmpfs /var/tmp/ramdisk Adjust size as needed. Then move the database to this disk: rsync -av /var/lib/mysql/* /var/tmp/ramdisk/ chown -R mysql:mysql /var/tmp/ramdisk Then start the database server. In my.cnf you point the ...


0

Try to remove mysql-apt-config (which is in development and might not be resolving the dependencies correctly) and to reinstall mysql-server from the official repositories: sudo apt-get purge mysql-apt-config && sudo apt-get install mysql-server


0

It seems that your installation of XAMPP is broken... My best suggestion is to forget about XAMPP and install what you need from repositories and, if needed, configure it yourself. This seems to be a good tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04


1

The missing errmsg.sys should be there. It's a binary file, from mysql-server-core-5.5 on my system. Try reinstalling that one?


0

This is the original answer referred from this block: https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/ Update Locales: sudo locale-gen fi_FI.UTF-8 sudo dpkg-reconfigure locales apt-get update Run this command below On your server and it will replace all of the ...


0

Under Ubuntu 14.04 this is running but the socket is not nor the file present. Replace your database connection host to = 127.0.0.1.


1

I would actually just modify the SQL. MySQL has a SLEEP function you can select from. The following will inject a 10 second delay every 50 lines... And then just pipe that into the mysql command. awk '{print} NR%50==0 {print "SELECT SLEEP(10);"}' file.sql | mysql db_name


0

g++ does support c++11, but it is experimental, hence you have to enable it with the option -std=gnu++11. You don't need to upgrade g++, you can't, because you are already running the latest version. So you will compile using a command like g++ -std=gnu++11 ./source_file.cpp You may also try the clang compiler, as it has better c++11 support than g++. ...


3

Please try this first: apt-get purge mysql-server mysql-client mysql-common mysql-client-5.5 mysql-server-5.5 then reinstall mysql server. If this doesn't work only then try the following: sudo apt-get remove --purge mysql-server mysql-client mysql-common or : sudo apt-get remove --purge mysql* followed by : sudo apt-get autoremove sudo apt-get ...


0

Most easy way to restoring the debian-sys-maint user, is to reconfigure package mysql-server-5.5. That if you know the password for the root user of MySQL, you can try to restore the user and its password in /etc/mysql/debian.cnf. sudo dpkg-reconfigure mysql-server-5.5 NOTE: if you cannot stop mysql pid, just run sudo killall mysqld. This is needed for ...


0

nohup mysql -u [username] -p[password] [database_name] -e "[sql_query]" & Be sure to have the password follow the -p WITHOUT a space


8

I had got the same problem a few hours ago. First I've killed the stuck process (kill -9 PID, or complete restart) then I completely uninstalled mysql. sudo apt-get remove --purge mysql-server mysql-client mysql-common or sudo apt-get remove --purge mysql* This will uninstall all mysql related packages, what is in most cases a bit overkill... Be ...


0

You did check to see if it was working and got your answer. Log into the machine ssh <user>@192.168.0.20 and execute: sudo apt-get install lamp-server^ This is for the meta-package of a basic LAMP. Any package required, but not installed will be installed. If all is successful , you can open your browser to 192.168.0.20 and you will see the ...


0

/etc/mysql has 755 as octal permissions. /var/lib/mysql has permissions set to 700. Neither of the phpmyadmin directories are installed as standard, so I don't have that information I'm afraid, hope that helps!


0

This one is the one you want: /usr/lib/php5/20121212+lfs/mysql.so Uncommenting in this case means removing the semicolon. Whitespaces are not required, so this one: ; extension=msql.so Should become this one: extension=mysql.so (notice the missing y in the original) And this one: ; extension_dir = "./" Should become this one: extension_dir = ...


1

The simplest way to install all three is to run the lamp-server task: sudo apt-get install lamp-server^ The caret at the end means that this is running a task, not installing a package. There is no lamp-server package, so if you leave off the caret, apt-get will return the error message, Unable to locate package lamp-server. The task will install ...


1

LAMP would be overkill. That is intended for hosting a website. If you only need a database you can install MySQL. But that might be overkill too. There is also SQLite (it is a "light" database and I would opt for that). MySQL: sudo apt-get install mysql-server SQLite: sudo apt-get sqlite SQLite is a software library that implements a ...


0

I found my mistake. The problem was in MS Word, I saved all commands in a doc file and just copy and paste them. MS Word does regular - in longer – in some cases. So, this longer dash break my last command: ssh -L 33061:localhost:3306 tunneluser@1.1.1.1 -f -N


-1

try apt-get install php5 php5-mysql apt-get install mysql-server and Remember to restart all services related to Apache server. for complete tutorial following this How To Install OwnCloud 8 on Ubuntu 14.04



Top 50 recent answers are included