How to fix this security issue on MySQL?  [!!] User '@localhost' is an anonymous account.
According to the , you can harden a MySQL server by adding passwords, or removing the anonymous accounts.      If you want to prevent clients from connecting as anonymous users   without a password, you should either assign a password to each   anonymous account or else remove the accounts.   Before hardening, my users table looked like this.   mysql&gt; select user,host,password from mysql.user; +------------------+-----------+-------------------------------------------+ | user             | host      | password                                  | +------------------+-----------+-------------------------------------------+ | root             | localhost | *F3A2A51A9B0F2BE246XXXXXXXXXXXXXXXXXXXXXX | | root             | gitlab    |                                           | | root             | 127.0.0.1 |                                           | | root             | ::1       |                                           | |                  | localhost |                                           | |                  | gitlab    |                                           | | debian-sys-maint | localhost | *95C1BF709B26A5BAXXXXXXXXXXXXXXXXXXXXXXXX | | myuser           | localhost | *6C8989366EAF75BB6XXXXXXXXXXXXXXXXXXXXXXX | +------------------+-----------+-------------------------------------------+   I've remove all anonymous accounts, so that the user table now looks like this.  (I'm using puppet to manage the users, but puppet effectively performs a DROP USER command).   mysql&gt; select user,host,password from mysql.user; +------------------+-----------+-------------------------------------------+ | user             | host      | password                                  | +------------------+-----------+-------------------------------------------+ | root             | localhost | *F3A2A51A9B0F2BE246XXXXXXXXXXXXXXXXXXXXXX | | debian-sys-maint | localhost | *95C1BF709B26A5BAXXXXXXXXXXXXXXXXXXXXXXXX | | myuser           | localhost | *6C8989366EAF75BB6XXXXXXXXXXXXXXXXXXXXXXX | +------------------+-----------+-------------------------------------------+   Why is it that I am still able to login to my test system without a username or a password? What do I need to do to prevent any unwanted users from logging in?   root@gitlab:~# mysql Welcome to the MySQL monitor.  Commands end with ; or \g. Your MySQL connection id is 98 Server version: 5.5.32-0ubuntu0.12.04.1 (Ubuntu) .... mysql&gt;    Update:  I've also just discovered that I can login as root, without entering a password.  Update2: I found  which has some good information, but does not solve the issue.   There are no anonymous users.  mysql&gt; select user,host,password from mysql.user where user=''; Empty set (0.00 sec)   I login as root@localhost.  mysql&gt; select USER(),CURRENT_USER(); +----------------+----------------+ | USER()         | CURRENT_USER() | +----------------+----------------+ | root@localhost | root@localhost | +----------------+----------------+    I do not have a default password, or skip-grant-tables defined in my.cnf  root@gitlab:~# cat /etc/mysql/my.cnf |grep -i 'skip-grant-tables'|wc -l 0 root@gitlab:~# cat /etc/mysql/my.cnf |grep -i 'pass'|wc -l 0   Update3:  I have tried performing these steps with puppet, (which should perform a flush privileges automatically). I have also manually flushed privileges and also tried restarting mysql.   Update4: I've also tried changing the mysql root password and flushed privileges. No luck, I can still log in as any user without a password.
Is it possible to make an ASP.NET MVC route based on a subdomain? Is it possible to have an ASP.NET MVC route that uses subdomain information to determine its route?  For example:   user1.domain.com goes to one place user2.domain.com goes to another?   Or, can I make it so both of these go to the same controller/action with a username parameter? Can someone define what exactly 'POCO' means? I am encountering the term more and more often, and I'm wondering if it is only about plain classes or it means something more? In many C/C++ macros I'm seeing the code of the macro wrapped in what seems like a meaningless do while loop.  Here are examples.  #define FOO(X) do { f(X); g(X); } while (0) #define FOO(X) if (1) { f(X); g(X); } else   I can't see what the do while is doing.  Why not just write this without it?  #define FOO(X) f(X); g(X) I'd like to install a  client for Xubuntu (12.04).  I'm getting non-English Google results, and I didn't find  in the Xubuntu repositories.   Does anyone know of a client that works well for Ubuntu or it's supported derivates (or installation instructions for grive?) $a^2b^2+a^2c^2+b^2c^2\leq 3$ Let $a, b, c\geq 0$ s.t.$$(a^2-a+1)(b^2-b+1)(c^2-c+1)=1$$  Show that $ a^2b^2+a^2c^2+b^2c^2\leq 3$.  My idea:  I denote $a+b+c=x$, $ab+bc+ac=y$ and $abc=z$.  Then I have $$x^2+y^2+z^2-xy-xz-yz+2z-y-x=0$$ I have to show that $$y^2-2xz\leq 3$$ I tried to prove it with the sign of trinom, but it doesn't work. Is fractional scaling ( ) available in 18.04 LTS yet? I am waiting until this is available before I install. Is there any app for Stack Exchange? Is there any app available in the Android Market for Stack Exchange sites? Luggage, connecting flights and customs question for USA I'm flying to the USA, from Australia, through LAX and catching a connecting flight 6 hours later, think it's the same ticket, booked all at once. I've never traveled before, and I'm wondering what happens with customs.   Do I collect my bags at LAX so they can be checked? Do I have to check in at every airport or is it all done when I catch the first flight? There are 4 flights on my itinerary. Prove that the dihedral group $D_4$ can not be written as a direct product of two groups It is my understanding that I can disable my touchscreen by adding Option "Ignore" "on" to this file                                /usr/share/X11/xorg.conf.d/10-evdev.conf   Section "InputClass"           Identifier "evdev touchscreen catchall"           MatchIsTouchscreen "on"           MatchDevicePath "/dev/input/event*"           Driver "evdev"           EndSection   so it would look like this   Section "InputClass"           Identifier "evdev touchscreen catchall"           MatchIsTouchscreen "on"           MatchDevicePath "/dev/input/event*"           Driver "evdev"           Option "Ignore" "on"           EndSection   What would happen if I simplied changed MatchIsTouchscreen to "off"?   Section "InputClass"           Identifier "evdev touchscreen catchall"           MatchIsTouchscreen "off"           MatchDevicePath "/dev/input/event*"           Driver "evdev"           EndSection   Would this disable my touchscreen? Plotting logarithmic regression with gnuplot using PGFPlots I have the data in 001.csv below that I want to plot. I need two plots: one showing the data and another one showing logarithmic regression. I have no problems plotting the line for the data (and also adding a linear regression line) but I just can't manage to get a logarithmic regression line in there. As far as I understand, I need to use gnuplot for this but unfortunately I can't make it work. Any help would be much much appreciated.  Cheers,  Cem  %%%%%%%%%%%%%%%%%%%%%% %This is my data:  \begin{filecontents}{001.csv}     1990 275     1991 187     1992 249     1993 177     1994 212     1995 303     1996 323     1997 364     1998 461     1999 427     2000 683     2001 553     2002 571     2003 682     2004 585     2005 608     2006 609     2007 643     2008 719     2009 545 \end{filecontents}  %%%%%%%%%%%%%%%%%%%%%% %This is my plot for the data:  \begin{tikzpicture} \begin{axis}[     axis on top=false, axis x line=middle, axis y line=middle,     xlabel={\footnotesize Year},     ylabel={\footnotesize Frequency count},     xmin=1975, xmax=2009,     ymin=0, ymax=900,     xtick={1980,1985,1990,1995,2000,2005,2009},     ytick={0,100,200,300,400,500,600,700,800},     legend pos=north east,     legend style={font=\fontsize{6}{5}\selectfont},     ymajorgrids=true,     xmajorgrids=true,     grid style=dashed,     /pgf/number format/.cd,     1000 sep={}     ]  \addplot[     smooth,tension=0.9,color=blue,mark=diamond         ] table {001.csv};  %Somewhere here I need a logarithmic regression line.  \end{axis} \end{tikzpicture}  %%%%%%%%%%%%%%%%%%%%%% How to create a page like this? I'm a LaTeX newbie. I want to create a page layout like in the picture below on every page.  Can someone help please? Thanks. How do I calculate my skill modifier? I'm trying to fill out the skills section on my first character, but when I look at the character sheets in the Starter Set as examples of how to make a character, the skills that are circled have higher modifiers than their Dexterity or Strength or whatever should make them.  I've filled out all skills but those. What do I add to the ability modifier to get those numbers?   My abilities are Strength 13, Dexterity 14, Constitution 11, Intelligence 15, Wisdom 8, and Charisma 8. Proficiencies are Arcana, Athletics, History, Investigation and Stealth. My saving throws are Strength and Dexterity.   I just started D&amp;D and have the Player's Handbook, DM's Guide, Monster Manual, and the Starter Set. Entry to The US before 30-day grace period for student visa The F student visa allows me to enter the US up to 30 days before the program starts. For starting to set up things it is of my interest to arrive sooner than that. How hard is it to travel there beforehand with a tourist visa (waiver) and leave to, say Mexico, to then re enter on a proper date within the 30 days with the student visa? This seems easier than requesting for a status change inside the US from tourist to student.. You can also contact me to customize your template, or create a new unique one.   Do I need to put a comma between the new and unique adjectives in this sentence?  In my native language (if I am not mistaken) we don't put a comma if the adjectives are of a different type. Not sure about English though, and if it's the case here anyway. Any help would be appreciated! After a brief discussion with @MonicaCellio (In the comment) - It has come to my attention that perhaps I chose the wrong words to describe my original idea (In the edit history). When I wrote "social features" I was actually suggesting an alternative way to for users to share their knowledge using a new type of post and articles and not just by questions and answers.   The basics of my idea was to allow users to write articles on topics relevant to the community on the SE websites just as any answer posted is expected  to be too. Allowing users to write their own content (I.E posts/articles/etc..) will be granted as a privilege for advanced users so that not anyone could write stupid things, users that will write content must be established and well-familiar with the rules of SE.   I know anyone can start a blog, but it's require frequent maintenance and content updates, while writing on SE ensure that it addressed to a large, well-established community, with a similar fields of interest.  Posts writing will follow the same guidelines as asking and answering questions does, but it will provide an alternative for users that are mostly answering specific questions, as a new method to contribute to the community.   By writing, one may also reveal more about their personality, wit, way of thinking, ETC. That's when the "social" takes place - You'll also have "authors" and not just "users" you can remember by their catchy name, but people that you can remember by the field of interest they are writing content about.   They key points will be:    Users will be able write rich content with advanced WYSIWYG HTML editor, content that doesn't require a question to answer, but that is still relevant to the SE website it is writing on. Users will be able to Upvote/Downvote other users posts. Posts will be listed on their author profile, so it will not just show the activity, but additional layer of user generated content. Popular posts with high reputation could be associated to tags making the information of tags richer with user generated content Users will be able to include links in answers not only to other questions, but also to posts. User will be able to comment on post to allow the author to correct and improve it. It will improve the interaction and offline discussions (Which are prohibited when it come to long discussions on questions and answers). I believe that users will be happy to share their own tutorials, tips and tricks - Because they are already doing so when answering questions, but before the can start, they'll have to earn enough reputation to ensure that only high profile users will be able to write high profile content, and not just any rubbish. It will provide another type of method for voting and getting earning reputation Users will be able to include content in their CVs on SO Jobs.  Opportunity to earn some new badges.   So it's a Mega feature request and it require some detailed design work, but I do think that it will invite a new type of activity for users on SO (and the rests of the sites of-course). A standard proof for press needs crop marks and color bars as below    With the package crop, the crop marks can be easily added.  But how about the color bar ?  Is there a way or a package to make it ?  An example is   \documentclass[b5paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[cross,a4,center,info,axes]{crop}  \title{Test} \author{User} \begin{document} \maketitle \section{Fox} The quick brown fox jumps over a lazy dog. \end{document} I'd like to run a game of , but I'm not sure how many dice I roll when the characters face various challenges. I'm under the impression that it's supposed to be the same number of dice the character uses, but that seems to make impossible tasks far too easy to perform. Is there a general rule saying how many dice the GM rolls against a character's attempt at a given task?  Should the GM's dice equal the character's dice, or should the GM's dice vary depending on the task's difficulty? Equidistant points across Bezier curves If I have a 18-55mm lens, is there a point in buying a 35mm prime lens?