OK this is the tab of the whole song, it's played in drop D Tuning.
I believe this isn't far off the real thing that Flea plays, let me know what you guys think..
INTRO:
G|-10-10-10-10-10-10-10-10-|-9--9--9--9--9--9--9--9--|
D|-------------------------|-------------------------|
A|-------------------------|-------------------------|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|-7--7--7--7--7--7--7--7--|-7--7--7--7--7--7--7--7/-|
A|-------------------------|-------------------------|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|/15-15-15-15-15-15-15-15-|-------------------------|
A|-------------------------|-15-15-15-15-15-15-15-15-|
D|-------------------------|-------------------------|
G|-------------------------|-------------21-21-19-19-|
D|-19-19-19-19-19-19-19-19-|-19-19-19-19-------------|
A|-------------------------|-------------------------|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|-------------------------|-10-10-10-10-10-10-10-10-|
A|-8--8--8--8--8--8--8--8--|-------------------------|
D|-------------------------|-------------------------|
G|-------------------------|-------------------5/----|
D|-7--7--7--7--7--7--7--7--|-7--7--7--7--7--7--------|
A|-------------------------|-------------------------|
D|-------------------------|-------------------------|
G|/17-17-17-17-17-17-17-17-|-21-21-21-21-21-21-21-21-|
D|-------------------------|-------------------------|
A|-------------------------|-------------------------|
D|-------------------------|-------------------------|
G|-21-21-21-21-21-21-21-21-|-21-21-21-21-21-21-21-21-|
D|-19-19-19-19-19-19-19-19-|-19-19-19-19-19-19-19-19-|
A|-------------------------|-------------------------|
D|-------------------------|-------------------------|
[ Tab from: https://www.guitartabs.cc/tabs/r/red_hot_chili_peppers/by_the_way_btab_ver_7.html ]
VERSE:
G|-------------------------|-------------------------|
D|*------------3-----------|------------3------------|
A|*------3h5------3h5--0h3-|-------3h5-----0h3-3-----| \
D|-0--0------0---0----0----|-0--0------0--0-----0h3h5| PLAY THIS
4 TIMES
G|-------------------------|-------------------------| /
D|------------3------------|------------------------*|
A|-------3h5------3h5--0h3-|-------3h5---5—-5h66666-*|
D|-0--0-----0----0----0----|-0--0------0—--0---------|
CHORUS:
G|-------------------------|-------------------------|
D|----------------------10-|---10--10--1010-10----10-|
A|-8-----8--8-8-8--8/12----|-------------------------|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|-12----12-1212--12-12-12-|-12-12--12-12-12-1410----|
A|-------------------------|---------------------1210|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|---------------------10--|--10-10--1010----10---10-|
A|-8-----8--8-8--8--8------|-------------------------|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|-7-----7-----7--7--7--7--|----8-----8-----8--8--8--|
A|-------------------------|-------------------------|
D|-------------------------|-------------------------|
REPEAT VERSE
REPEAT INTRO
REPEAT VERSE (1st repeat Bass solo)
CHORUS:
G|-------------------------|-------------------------|
D|-3-----3----3-3-3--3-/10-|---10--10--1010-10----10-|
A|-------------------------|-------------------------|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|-12----12-1212--12-12-12-|------10-----------------|
A|-------------------------|-----------12---12-10-12-|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|---------------------10--|--10-10--1010----10---10-|
A|-8-----8--8-8--8--8------|-------------------------|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|-7-----7-----7--7--7--7--|----8-----8-----8--8-----|
A|-------------------------|----------------------10-|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|----------------8--9--10-|----10----10------10-----|
A|-8-----8-----8-----------|--------------12------12-|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|-12----12-1212--12-12-12-|--12-12-12---12--14--12--|
A|-------------------------|-------------------------|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|---------------------10--|--10-10--1010----10---10-|
A|-8-----8--8-8--8--8------|-------------------------|
D|-------------------------|-------------------------|
G|-------------------------|-------------------------|
D|-7-----7-----7--7--7--7--|---8--8--8--8--8--8\-----|
A|-------------------------|-------------------------|
D|-------------------------|-------------------------|
after that one time without Bass and Drums.