Cannot execute query on mysql ubuntu droplet.
i tried to execute this query :
select a.NAMA_MAHASISWA,a.TAHUN_MASUK,a.C_KODE_PRODI,b.*
from t_mst_mahasiswa a, smk_t_log_tra_mhs_nilai b
where a.C_NPM=b.C_NPM
AND b.C_TAHUN_AKADEMIK=‘2014-2015’ AND b.C_KODE_SEMESTER=‘1’
AND b.F_VERIFIED=‘0’
order by b.C_NPM ASC
but it return nothing. the query not excecuted.
i tried to execute the same query on my xampp localhost on windows and it was executed successfully.
anyone facing the same problem before?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
executed the query on pypmyadmin, also on mysql shell using : mysql -u root -p
it’s not executed because it returns nothing, both phpmyadmin and mysql shell.
the i run the same query on my xampp localhost on windows and it was executed successfully.
i follow this tutorial to build my webserver : http://www.servermom.org/build-ubuntu-server-a-complete-guide/
i’m sorry before, now the query was executed successfully. the problem is mysql use 100% of cpu, and then i’ve tried to index my table and it works. thanks for your help :)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
